@@ -17,7 +17,7 @@ description = run type check on code base
1717base_python = python3.12
1818skip_install = true
1919deps =
20- mypy[python2]@ git+https://github.com/coatl-dev/mypy.git@v0.971
20+ mypy[python2] @ git+https://github.com/coatl-dev/mypy.git@v0.971
2121commands =
2222 mypy --install-types --non-interactive src
2323
@@ -26,60 +26,30 @@ description = generate stubs
2626base_python = python3.12
2727skip_install = true
2828deps =
29- mypy[python2]@ git+https://github.com/coatl-dev/mypy.git@v0.971
29+ mypy[python2] @ git+https://github.com/coatl-dev/mypy.git@v0.971
3030commands =
3131 stubgen --export-less --output =stubs{/}stubs src
3232
33- [testenv:style]
34- description = apply style
35- base_python = python3.12
36- skip_install = true
37- deps =
38- black
39- docformatter
40- flake8@ git+https://github.com/coatl-dev/flake8.git@5.0.4
41- isort
42- pydoclint
43- pydocstyle
44- sort-all
45- unimport
46- commands =
47- python -c \
48- " import pathlib, subprocess; \
49- files = [str(p) for p in pathlib.Path('src').rglob('*.py')]; \
50- subprocess.run(['sort-all'] + files, check=True)"
51- black --quiet src
52- unimport src
53- isort --settings-file =tox.ini src
54- docformatter \
55- --in-place \
56- --wrap-summaries 72 \
57- --close-quotes-on-newline \
58- --recursive \
59- src
60- flake8 --select =DOC --config =tox.ini src
61- pydocstyle --config =tox.ini src{/}system
62-
6333[docformatter]
34+ close-quotes-on-newline = true
6435in-place = true
6536wrap-summaries = 72
66- close-quotes-on-newline = true
6737
6838[flake8]
39+ arg-type-hints-in-docstring = False
40+ arg-type-hints-in-signature = False
41+ check-return-types = False
6942ignore = DOC202, E741, F821
7043max-complexity = 10
7144max-doc-length = 72
7245max-line-length = 120
7346style = google
74- arg-type-hints-in-docstring = False
75- arg-type-hints-in-signature = False
76- check-return-types = False
7747
7848[isort]
7949extra_standard_library = typing
8050profile = black
8151py_version = 27
8252
8353[pydocstyle]
84- convention = google
8554add_ignore = D101, D102, D104, D105, D106, D107, D205, D415
55+ convention = google
0 commit comments