Skip to content

Commit daf15a5

Browse files
committed
Updated config files and contributing guide.
1 parent 05f5c2b commit daf15a5

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

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-
``domdf_python_tools`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging, and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
7+
``domdf_python_tools`` 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-
``domdf_python_tools`` uses `tox <https://tox.readthedocs.io>`_ to automate testing and packaging, and `pre-commit <https://pre-commit.com>`_ to maintain code quality.
6+
``domdf_python_tools`` 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

tox.ini

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ exclude_lines =
9494
if TYPE_CHECKING:
9595
if typing.TYPE_CHECKING:
9696
if __name__ == .__main__.:
97-
\.\.\.
97+
:[\n\s]*\.\.\.
9898

9999
[check-wheel-contents]
100100
ignore = W002
@@ -128,15 +128,6 @@ deps =
128128
pygments>=2.7.1
129129
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
130130

131-
[gh-actions]
132-
python =
133-
3.6: py36, build
134-
3.7: py37, build
135-
3.8: py38, build
136-
3.9: py39, build
137-
3.10.0-alpha.3: py310-dev, build
138-
pypy-3.6: pypy3, build
139-
140131
[flake8]
141132
max-line-length = 120
142133
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

0 commit comments

Comments
 (0)