forked from cogeotiff/rio-tiler-pds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
36 lines (30 loc) · 841 Bytes
/
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
[bumpversion]
current_version = 0.6.0
commit = True
tag = True
tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<suffix>.+))?
serialize =
{major}.{minor}.{patch}.{suffix}
{major}.{minor}.{patch}
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:rio_tiler_pds/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[isort]
profile = black
known_first_party = rio_tiler,rio_tiler_pds,rio_toa
known_third_party = rasterio,mercantile,morecantile
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_strict_optional = True
[pydocstyle]
select = D1
match = (?!test).*\.py