Skip to content

Commit fc60c54

Browse files
authored
Merge pull request #489 from graingert/pre-commit-autoupdate
pre-commit autoupdate
2 parents d810c65 + 9382ac5 commit fc60c54

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
exclude: '^(src/.*\.pth|\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: master
8+
rev: v4.0.1
99
hooks:
1010
- id: trailing-whitespace
1111
- id: end-of-file-fixer
1212
- id: debug-statements
1313
- repo: https://github.com/timothycrosley/isort
14-
rev: master
14+
rev: 5.9.3
1515
hooks:
1616
- id: isort
1717
- repo: https://gitlab.com/pycqa/flake8
18-
rev: master
18+
rev: 3.9.2
1919
hooks:
2020
- id: flake8

docs/config.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ For full details refer to the `coverage config file`_ documentation.
2323

2424
.. note:: Important Note
2525

26-
This plugin overrides the ``data_file`` and ``parallel`` options of coverage. Unless you also run coverage without
26+
This plugin overrides the ``data_file`` and ``parallel`` options of coverage. Unless you also run coverage without
2727
pytest-cov it's pointless to set those options in your ``.coveragerc``.
28-
29-
If you use the ``--cov=something`` option (with a value) then coverage's ``source`` option will also get overriden.
30-
If you have multiple sources it might be easier to set those in ``.coveragerc`` and always use ``--cov`` (wihout a value)
28+
29+
If you use the ``--cov=something`` option (with a value) then coverage's ``source`` option will also get overriden.
30+
If you have multiple sources it might be easier to set those in ``.coveragerc`` and always use ``--cov`` (wihout a value)
3131
instead of having a long command line with ``--cov=pkg1 --cov=pkg2 --cov=pkg3 ...``.
32-
32+
3333
If you use the ``--cov-branch`` option then coverage's ``branch`` option will also get overriden.
3434

3535
If you wish to always add pytest-cov with pytest, you can use ``addopts`` under ``pytest`` or ``tool:pytest`` section.

docs/contexts.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ id, and each set of parameter values is recorded as a separate test.
2222
To view contexts when using ``--cov-report=html``, add this to your ``.coveragerc``::
2323

2424
[html]
25-
show_contexts = True
26-
25+
show_contexts = True
26+
2727
The HTML report will include an annotation on each covered line, indicating the
28-
number of contexts that executed the line. Clicking the annotation displays a
28+
number of contexts that executed the line. Clicking the annotation displays a
2929
list of the contexts.

0 commit comments

Comments
 (0)