Skip to content

Commit ab96f34

Browse files
committed
Updated config files.
1 parent 685ae2a commit ab96f34

File tree

3 files changed

+16
-53
lines changed

3 files changed

+16
-53
lines changed

.isort.cfg

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@ known_third_party =
1515
aenum
1616
colorama
1717
coverage
18-
coverage_pyver_pragma
18+
coverage-pyver-pragma
1919
deprecation
20-
enum_tools
20+
enum-tools
2121
faker
2222
github
23-
importlib_metadata
24-
importlib_resources
23+
importlib-metadata
24+
importlib-resources
2525
pandas
2626
pydash
2727
pytest
28-
pytest_cov
29-
pytest_randomly
30-
pytest_regressions
31-
pytest_rerunfailures
32-
pytest_timeout
28+
pytest-cov
29+
pytest-randomly
30+
pytest-regressions
31+
pytest-rerunfailures
32+
pytest-timeout
3333
pytz
3434
requests
35-
typing_extensions
35+
typing-extensions
3636
known_first_party = domdf_python_tools
3737
remove_redundant_aliases = True
3838
force_to_top = True

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# This file is managed by 'repo_helper'. Don't edit it directly.
22
---
33

4+
exclude: ^$
5+
46
repos:
57
- repo: https://github.com/pre-commit/pre-commit-hooks
68
rev: v2.4.0

tox.ini

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ deps =
9696
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
9797
git+https://github.com/domdfcoding/flake8-quotes.git
9898
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
99+
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
99100
pygments>=2.7.1
100-
commands = flake8 domdf_python_tools tests
101+
commands = flake8 domdf_python_tools tests --format=rst-toolbox
101102

102103
[testenv:yapf]
103104
basepython = python3.7
@@ -147,56 +148,16 @@ commands =
147148
max-line-length = 120
148149
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT004 PT005 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 Q000 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 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 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091
149150
exclude = .git,__pycache__,doc-source,old,build,dist,make_conda_recipe.py,__pkginfo__.py,setup.py
150-
rst-roles =
151-
class
152-
func
153-
mod
154-
py:obj
155-
py:class
156-
ref
157-
meth
158-
exc
159-
attr
160-
wikipedia
161-
rst:role
162-
rst:dir
163-
pull
164-
issue
165-
asset
166-
confval
167-
data
168-
py:data
169-
py:exc
170-
deco
171-
regex
172151
rst-directives =
173-
envvar
174-
exception
175-
seealso
176152
TODO
177-
versionadded
178-
versionchanged
179-
rest-example
153+
envvar
180154
extras-require
181-
literalinclude
182-
autoclass
183-
extensions
184-
deprecated
185-
versionremoved
186-
autofunction
187-
confval
188-
rst:directive
189-
rst:directive:option
190-
rst:role
191-
pre-commit-shield
192-
py:data
193-
py:method
194-
py:classmethod
195155
per-file-ignores = 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 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091
196156
pytest-parametrize-names-type = csv
197157
inline-quotes = "
198158
multiline-quotes = """
199159
docstring-quotes = """
160+
count = True
200161
201162
[coverage:run]
202163
plugins = coverage_pyver_pragma

0 commit comments

Comments
 (0)