Skip to content

Commit

Permalink
Merge pull request #10 from os-climate/dependencies-changes
Browse files Browse the repository at this point in the history
Fix: dev-dependencies vs optional-dependencies [skip ci]
  • Loading branch information
ModeSevenIndustrialSolutions authored Jan 22, 2024
2 parents cf3d7f4 + 7870e1d commit cb54be5
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,30 @@ license-files = ["LICENSES.txt"]
osc-rule-based-extractor = "osc_rule_based_extractor.skeleton:run"

[project.optional-dependencies]
dev = [
dev = [
"pylint",
"toml",
"yapf",
"pdm"
"pdm",
"tox",
"tox-pdm"
]
test = [
"pytest",
"pytest-cov",
]
tox = [
"tox",
"tox-pdm>=0.5",
]
docs = [
"sphinx>=7.2.6",
"sphinx-copybutton>=0.5.2"
]
lint = [
"pre-commit",
"pyproject-flake8"
]

[tool.setuptools_scm]

Expand All @@ -67,13 +81,6 @@ docs = { shell = "cd docs && mkdocs serve", help = "Start the dev server for doc
lint = "pre-commit run --all-files"
complete = { call = "tasks.complete:main", help = "Create autocomplete files for bash and fish" }

[tool.pdm.dev-dependencies]
test = ["pdm[pytest]", "pytest", "pytest-cov"]
tox = ["tox", "tox-pdm>=0.5"]
docs = ["sphinx>=7.2.6", "sphinx-copybutton>=0.5.2"]
dev = ["tox>=4.11.3", "tox-pdm>=0.7.0"]
lint = ["pre-commit", "pyproject-flake8"]

[tool.pytest.ini_options]
testpaths = [
"tests/",
Expand Down

0 comments on commit cb54be5

Please sign in to comment.