We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b55f9 commit 9214809Copy full SHA for 9214809
‎conftest.py
@@ -0,0 +1,16 @@
1
+"""Pytest configuration file."""
2
+
3
+from sybil import Sybil
4
+from sybil.parsers.doctest import DocTestParser
5
6
+readme_tester = Sybil(
7
+ parsers=[DocTestParser()],
8
+ pattern="README.md",
9
+)
10
11
+python_file_tester = Sybil(
12
13
+ pattern="src/**/*.py",
14
15
16
+pytest_collect_file = (readme_tester + python_file_tester).pytest()
‎pyproject.toml
@@ -85,6 +85,10 @@ version_tuple = {version_tuple!r}
85
warn_unreachable = true
86
warn_unused_configs = true
87
88
+ [[tool.mypy.overrides]]
89
+ module = "sybil.*"
90
+ ignore_missing_imports = true
91
92
93
[tool.pytest.ini_options]
94
addopts = [
0 commit comments