forked from developmentseed/titiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
58 lines (48 loc) · 1.57 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[bumpversion]
current_version = 0.7.1
commit = True
tag = True
tag_name = {new_version}
parse =
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<pre>a|b|rc)(?P<prenum>\d+))?
serialize =
{major}.{minor}.{patch}{pre}{prenum}
{major}.{minor}.{patch}
[bumpversion:file:setup.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:src/titiler/application/titiler/application/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:src/titiler/core/titiler/core/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:src/titiler/mosaic/titiler/mosaic/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:deployment/aws/lambda/Dockerfile]
search = titiler.application=={current_version}
replace = titiler.application=={new_version}
[bumpversion:file:deployment/k8s/charts/Chart.yml]
search = appVersion: {current_version}
replace = appVersion: {new_version}
[isort]
profile = black
known_first_party = titiler
forced_separate = fastapi,starlette
known_third_party = rasterio,morecantile,rio_tiler,cogeo_mosaic,geojson_pydantic,starlette_cramjam
default_section = THIRDPARTY
[flake8]
ignore = E501,W503,E203
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
max-complexity = 12
max-line-length = 90
[mypy]
no_implicit_optional = True
strict_optional = True
namespace_packages = True
explicit_package_bases = True
[pydocstyle]
select = D1
match = (?!test).*\.py