Skip to content

Commit 64f37cb

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

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python -VV
3232
python -m site
3333
python -m pip install --upgrade pip setuptools wheel
34-
python -m pip install tox
34+
python -m pip install --upgrade tox virtualenv
3535
3636
- name: "Run mypy"
3737
run: "python -m tox -e mypy"

.isort.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ remove_redundant_aliases = True
1414
default_section = THIRDPARTY
1515
known_third_party =
1616
click
17+
coincidence
1718
colorama
1819
coverage
1920
coverage_pyver_pragma

CONTRIBUTING.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Contributing
44

55
.. This file based on https://github.com/PyGithub/PyGithub/blob/master/CONTRIBUTING.md
66
7-
``consolekit`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging, and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
7+
``consolekit`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging,
8+
and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
89

910
Install ``pre-commit`` with ``pip`` and install the git hook:
1011

@@ -36,7 +37,8 @@ Or, to run the complete autoformatting suite:
3637
Automated tests
3738
-------------------
3839

39-
Tests are run with ``tox`` and ``pytest``. To run tests for a specific Python version, such as Python 3.6, run:
40+
Tests are run with ``tox`` and ``pytest``.
41+
To run tests for a specific Python version, such as Python 3.6:
4042

4143
.. code-block:: bash
4244

doc-source/contributing.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Overview
33

44
.. This file based on https://github.com/PyGithub/PyGithub/blob/master/CONTRIBUTING.md
55
6-
``consolekit`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging, and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
6+
``consolekit`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging,
7+
and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
78

89
Install ``pre-commit`` with ``pip`` and install the git hook:
910

@@ -35,7 +36,8 @@ Or, to run the complete autoformatting suite:
3536
Automated tests
3637
-------------------
3738

38-
Tests are run with ``tox`` and ``pytest``. To run tests for a specific Python version, such as Python 3.6, run:
39+
Tests are run with ``tox`` and ``pytest``.
40+
To run tests for a specific Python version, such as Python 3.6:
3941

4042
.. prompt:: bash
4143

tests/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
coincidence>=0.1.0
12
colorama>=0.4.4; python_version == "3.10" and platform_system != "Windows"
23
coverage>=5.1
34
coverage-pyver-pragma>=0.0.6

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@ commands =
135135

136136
[flake8]
137137
max-line-length = 120
138-
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 E301 E302 E303 E304 E305 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 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 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 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
138+
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 E301 E303 E304 E305 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 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 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 E302 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
139139
exclude = doc-source,.git,__pycache__,old,build,dist,__pkginfo__.py,setup.py,.tox,venv
140140
rst-directives =
141141
TODO
142142
envvar
143143
extras-require
144144
per-file-ignores =
145145
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
146-
*/*.pyi: 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
146+
*/*.pyi: E302 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
147147
pytest-parametrize-names-type = csv
148148
inline-quotes = "
149149
multiline-quotes = """
@@ -162,7 +162,7 @@ exclude_lines =
162162
if TYPE_CHECKING:
163163
if typing.TYPE_CHECKING:
164164
if __name__ == .__main__.:
165-
\.\.\.
165+
:[\n\s]*\.\.\.
166166
167167
[check-wheel-contents]
168168
ignore = W002

0 commit comments

Comments
 (0)