Skip to content

Commit c0c7bb5

Browse files
author
Sherin Thomas
authored
Merge pull request #56 from RedisAI/sherin/restructuring
Restructuring and formatting
2 parents ceb88c7 + 6489884 commit c0c7bb5

12 files changed

+701
-503
lines changed

.bumpversion.cfg

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
[bumpversion]
2-
current_version = 1.0.1
2+
current_version = 1.0.2
33
commit = True
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<build>\d+))?
66
serialize =
77
{major}.{minor}.{patch}
88

99
[bumpversion:file:setup.py]
10-
search = version='{current_version}'
11-
replace = version='{new_version}'
10+
search = version="{current_version}"
11+
replace = version="{new_version}"
1212

1313
[bumpversion:file:redisai/__init__.py]
14-
search = __version__ = '{current_version}'
15-
replace = __version__ = '{new_version}'
14+
search = __version__ = "{current_version}"
15+
replace = __version__ = "{new_version}"
1616

1717
[bumpversion:file:docs/conf.py]
18-
search = release = '{current_version}'
19-
replace = release = '{new_version}'
20-
18+
search = release = "{current_version}"
19+
replace = release = "{new_version}"

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ redisai.egg-info
88
build/
99
dist/
1010
docs/_build/
11+
.DS_Store

docs/conf.py

+22-20
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
project = 'redisai-py'
2-
copyright = '2020, RedisLabs'
3-
author = 'RedisLabs'
4-
release = '1.0.1'
5-
extensions = ['sphinx.ext.autodoc',
6-
'sphinx.ext.autosummary',
7-
'sphinx.ext.extlinks',
8-
'sphinx.ext.napoleon',
9-
'sphinx.ext.todo',
10-
'sphinx.ext.intersphinx',
11-
"sphinx_rtd_theme"]
12-
templates_path = ['_templates']
13-
source_suffix = '.rst'
14-
master_doc = 'index'
15-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
16-
html_theme = 'sphinx_rtd_theme'
1+
project = "redisai-py"
2+
copyright = "2020, RedisLabs"
3+
author = "RedisLabs"
4+
release = "1.0.2"
5+
extensions = [
6+
"sphinx.ext.autodoc",
7+
"sphinx.ext.autosummary",
8+
"sphinx.ext.extlinks",
9+
"sphinx.ext.napoleon",
10+
"sphinx.ext.todo",
11+
"sphinx.ext.intersphinx",
12+
"sphinx_rtd_theme",
13+
]
14+
templates_path = ["_templates"]
15+
source_suffix = ".rst"
16+
master_doc = "index"
17+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
18+
html_theme = "sphinx_rtd_theme"
1719
html_use_smartypants = True
18-
html_last_updated_fmt = '%b %d, %Y'
20+
html_last_updated_fmt = "%b %d, %Y"
1921
html_split_index = False
2022
html_sidebars = {
21-
'**': ['searchbox.html', 'globaltoc.html', 'sourcelink.html'],
23+
"**": ["searchbox.html", "globaltoc.html", "sourcelink.html"],
2224
}
23-
html_short_title = '%s-%s' % (project, release)
25+
html_short_title = "%s-%s" % (project, release)
2426

2527
napoleon_use_ivar = True
2628
napoleon_use_rtype = True
@@ -29,4 +31,4 @@
2931

3032
add_module_names = False
3133
doctest_test_doctest_blocks = None
32-
autoclass_content = 'class'
34+
autoclass_content = "class"

redisai/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .client import Client
22

3-
__version__ = '1.0.1'
3+
__version__ = "1.0.2"

0 commit comments

Comments
 (0)