Skip to content

Commit 3a7071e

Browse files
authored
Merge pull request #107 from nisarnk/cleanup_code
Migrate tooling configuration from setup.cfg to pyproject.toml
2 parents 870d72d + 3d2dc2d commit 3a7071e

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,13 @@ exclude = [
1515
"csxtools.egg-info",
1616
"__pycache__"
1717
]
18+
19+
[tool.pytest.ini_options]
20+
21+
[tool.versioneer]
22+
VCS = "git"
23+
style = "pep440"
24+
versionfile_source = "csxtools/_version.py"
25+
versionfile_build = "csxtools/_version.py"
26+
tag_prefix = "v"
27+
parentdir_prefix = "csxtools-"

requirements-dev.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
codecov
22
coveralls
3-
flake8
3+
ruff>=0.4.0
44
pytest
5-
pytest-flake8
65
sphinx
76
sphinx-bootstrap-theme

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
numpy
2-
ruff>=0.4.0

setup.cfg

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
[egg_info]
2-
tag_build =
3-
tag_svn_revision = 1
4-
5-
[tool:pytest]
6-
71
[build_sphinx]
82
source-dir = doc/
93
build-dir = doc/_build
@@ -12,9 +6,4 @@ all_files = 1
126
[upload_sphinx]
137
upload-dir = doc/_build/html
148

15-
[versioneer]
16-
VCS = git
17-
style = pep440
18-
versionfile_source = csxtools/_version.py
19-
versionfile_build = csxtools/_version.py
20-
tag_prefix = v
9+

0 commit comments

Comments
 (0)