Skip to content

Commit e1c119b

Browse files
[INF] Replace pytest.ini file with pyproject.toml (#1204)
* remove `addopts` from pyproject.toml * remove pytest.ini * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update CHANGELOG.md Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c5ba7ef commit e1c119b

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
- [INF] Replace `pytest.ini` file with `pyproject.toml` file. PR #1204 @Zeroto521
6+
57
## [v0.24.0] - 2022-11-12
68

79
- [ENH] Add lazy imports to speed up the time taken to load pyjanitor (part 2)

pyproject.toml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,17 @@ verbose = 2
3131

3232
# https://docs.pytest.org/en/6.2.x/mark.html#registering-marks
3333
[tool.pytest.ini_options]
34-
addopts = "--cov=janitor/ --cov-report=html --cov-report=xml --cov-report=term-missing --durations=0"
35-
3634
markers = [
37-
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
38-
"biology",
39-
"chemistry",
40-
"engineering",
41-
"finance",
42-
"functions: main janitor functions suite",
43-
"ml: Machine learning-specific data cleaning functions.",
44-
"spark_functions",
45-
"timeseries",
46-
"utils",
47-
"xarray",
35+
"functions: test for general functions",
36+
"biology: tests for biology",
37+
"chemistry: tests for chemistry",
38+
"finance: tests for finance",
39+
"utils: utility tests",
40+
"engineering: tests for engineering",
41+
"ml: tests for machine learning",
42+
"spark_functions: tests for pyspark functions",
43+
"xarray: tests for xarray functions",
44+
"timeseries: tests for timeseries",
45+
"documentation: tests for documentation",
46+
"turtle: tests that take more than 5 seconds to execute",
4847
]

pytest.ini

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)