|
2 | 2 | requires = ["hatchling", "hatch-vcs", "build", "twine"] |
3 | 3 | build-backend = "hatchling.build" |
4 | 4 |
|
5 | | -[tool.pytest.ini_options] |
6 | | -addopts = [ |
7 | | - "-rsxX", |
8 | | - "-s", |
9 | | - "--import-mode=importlib", |
10 | | - "--log-cli-level=DEBUG", |
11 | | - '-m not slow or not integration', |
12 | | -] |
13 | | -pythonpath = [".", "src", "tests"] |
14 | | -testpaths = ["tests"] |
15 | | -markers = [ |
16 | | - "flaky: tests that can randomly fail through no change to the code", |
17 | | - "slow: marks tests as slow (deselect with '-m \"not slow\"')", |
18 | | - "integration: tests that require external resources", |
19 | | -] |
20 | | - |
21 | 5 | [project] |
22 | 6 | name = "reqstool-python-hatch-plugin" |
23 | 7 | dynamic = ["version"] |
@@ -68,6 +52,23 @@ dependencies = [ |
68 | 52 | "pytest==8.3.3", |
69 | 53 | ] |
70 | 54 |
|
| 55 | + |
| 56 | +[tool.pytest.ini_options] |
| 57 | +addopts = [ |
| 58 | + "-rsxX", |
| 59 | + "-s", |
| 60 | + "--import-mode=importlib", |
| 61 | + "--log-cli-level=DEBUG", |
| 62 | + '-m not slow or not integration', |
| 63 | +] |
| 64 | +pythonpath = [".", "src", "tests"] |
| 65 | +testpaths = ["tests"] |
| 66 | +markers = [ |
| 67 | + "flaky: tests that can randomly fail through no change to the code", |
| 68 | + "slow: marks tests as slow (deselect with '-m \"not slow\"')", |
| 69 | + "integration: tests that require external resources", |
| 70 | +] |
| 71 | + |
71 | 72 | [tool.black] |
72 | 73 | line-length = 120 |
73 | 74 | target-version = ['py310'] |
|
0 commit comments