Skip to content

Commit e8b4816

Browse files
committed
Exclude tests from pydocstyle
1 parent 1ab48e7 commit e8b4816

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ repos:
1212
rev: 6.0.0
1313
hooks:
1414
- id: pydocstyle
15+
exclude: |
16+
(?x)^(
17+
tests/.*
18+
)
1519
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
1620
rev: v1.0.1
1721
hooks:

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ deps =
1414
delayed-assert
1515
pytest
1616
pytest-cov
17+
18+
setenv =
19+
AGENT_NO_ANALYTICS = 1
20+
1721
commands = pytest --cov=reportportal_client --cov-report=xml tests/ -s -vv
1822

1923
[testenv:pep]

0 commit comments

Comments
 (0)