Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit bb4f633

Browse files
Updated files with 'repo_helper'. (#2)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent c0a0a7e commit bb4f633

6 files changed

Lines changed: 16 additions & 10 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ docs/_build/
4747
doc/build
4848
target/
4949
.ipynb_checkpoints
50-
.python-version
5150
celerybeat-schedule
5251
celerybeat.pid
5352
*.sage.py

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/repo-helper/pyproject-parser
11-
rev: v0.13.0
11+
rev: v0.14.0
1212
hooks:
1313
- id: reformat-pyproject
1414

@@ -43,7 +43,7 @@ repos:
4343
- id: bind-requirements
4444

4545
- repo: https://github.com/python-formate/flake8-dunder-all
46-
rev: v0.4.1
46+
rev: v0.5.0
4747
hooks:
4848
- id: ensure-dunder-all
4949
files: ^map_machine/.*\.py$
@@ -62,11 +62,11 @@ repos:
6262
- id: rst-inline-touching-normal
6363

6464
- repo: https://github.com/asottile/pyupgrade
65-
rev: v2.12.0
65+
rev: v3.3.0
6666
hooks:
6767
- id: pyupgrade
6868
args:
69-
- --py36-plus
69+
- --py39-plus
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ map-machine
7171
:target: https://github.com/potbanksoftware/map-machine/commit/master
7272
:alt: GitHub last commit
7373

74-
.. |maintained| image:: https://img.shields.io/maintenance/yes/2025
74+
.. |maintained| image:: https://img.shields.io/maintenance/yes/2026
7575
:alt: Maintenance
7676

7777
.. end shields

formate.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ remove_redundant_aliases = true
2929
default_section = "THIRDPARTY"
3030
known_third_party = [
3131
"cairosvg",
32+
"click",
3233
"coincidence",
3334
"colour",
35+
"consolekit",
3436
"coverage",
3537
"coverage_pyver_pragma",
3638
"importlib_metadata",

justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ unused-imports:
1212
incomplete-defs:
1313
tox -e lint -- --select MAN
1414

15+
commas:
16+
tox -e lint -- --select C812,C813,C814,C815,C816
17+
1518
vdiff:
1619
git diff $(repo-helper show version -q)..HEAD
1720

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,16 @@ deps =
9494
flake8-dunder-all>=0.1.1
9595
flake8-encodings>=0.1.0
9696
flake8-github-actions>=0.1.0
97-
flake8-noqa>=1.1.0,<=1.2.2
97+
git+https://github.com/python-formate/flake8-noqa.git@v1.2.2-python-formate.0
9898
flake8-pyi>=20.10.0,<=22.8.0
9999
flake8-pytest-style>=1.3.0,<2
100100
flake8-quotes>=3.3.0
101101
flake8-slots>=0.1.0
102102
flake8-sphinx-links>=0.0.4
103103
flake8-strftime>=0.1.1
104104
flake8-typing-imports>=1.10.0
105+
flake8-params>=0.1.0
106+
git+https://github.com/python-formate/flake8-commas.git@2.1.0-python-formate.0
105107
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
106108
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
107109
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
@@ -159,7 +161,7 @@ commands =
159161

160162
[flake8]
161163
max-line-length = 120
162-
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 ENC011 ENC012 ENC021 ENC022 ENC023 ENC024 ENC025 ENC026 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 NQA001 NQA002 NQA003 NQA004 NQA005 NQA102 NQA103 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
164+
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 ENC011 ENC012 ENC021 ENC022 ENC023 ENC024 ENC025 ENC026 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 NQA001 NQA002 NQA003 NQA004 NQA005 NQA102 NQA103 C818 C819 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002 PRM001 PRM002 PRM003
163165
extend-exclude = doc-source,old,build,dist,__pkginfo__.py,setup.py,venv
164166
rst-directives =
165167
TODO
@@ -169,8 +171,8 @@ rst-directives =
169171
license-info
170172
rst-roles = choosealicense
171173
per-file-ignores =
172-
tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
173-
*/*.pyi: E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
174+
tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002 PRM001 PRM002 PRM003
175+
*/*.pyi: E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002 PRM001 PRM002 PRM003
174176
map_machine/*: PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021
175177
pytest-parametrize-names-type = csv
176178
inline-quotes = "

0 commit comments

Comments
 (0)