summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-24 13:10:52 +0100
committerGitHub <noreply@github.com>2021-11-24 13:10:52 +0100
commit5e9d20dc32768e873ab84bc4ed0b489fdda40672 (patch)
tree26e1018b2ff6f299b23d93fa3160e0bd704966cd /setup.cfg
parente8fa46928d91893723a9a038fde2d274d535fd1f (diff)
downloadpylint-git-5e9d20dc32768e873ab84bc4ed0b489fdda40672.tar.gz
Primer tests "à la mypy" (#5173)
* Add changelog and warning about unstable API in testutil * Add primer tests, (running pylint on external libs during tests) In order to anticipate crash/fatal messages, false positives are harder to anticipate. Follow-up will be #5359 and later on #5364 Add '__tracebackhide__ = True' so the traceback is manageable Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 18f7da882..3aaf37699 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -69,9 +69,10 @@ test = pytest
[tool:pytest]
testpaths = tests
python_files = *test_*.py
-addopts = -m "not primer_stdlib"
+addopts = --strict-markers -m "not primer_stdlib and not primer_external"
markers =
primer_stdlib: Checks for crashes and errors when running pylint on stdlib
+ primer_external: Checks for crashes and errors when running pylint on external libs
benchmark: Baseline of pylint performance, if this regress something serious happened
[isort]
@@ -118,3 +119,6 @@ ignore_missing_imports = True
[mypy-toml.decoder]
ignore_missing_imports = True
+
+[mypy-git.*]
+ignore_missing_imports = True