Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ packages = ["src/ridgeplot"]
[tool.hatch.version]
source = "versioningit"

[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
plugins = "numpy.typing.mypy_plugin"
strict_optional = true

[[tool.mypy.overrides]]
ignore_errors = true
module = ["matplotlib.*", "scipy.*"]

[tool.ruff]
line-length = 120

Expand All @@ -48,18 +38,18 @@ select = ['E', 'F', 'W', 'I']
dev-dependencies = [
"pytest>=6.2.5",
"pytest-cov>=2.12.1",
"mypy>=1.10.0",
"ruff>=0.0.290",
"pre-commit>=3.7.1",
"versioningit>=3.1.1"
"prek>=0.2.27",
"versioningit>=3.1.1",
"ty>=0.0.6"
]

[tool.rye.scripts]
check = {chain = ["format", "lint", "type", "test"]}
format = "ruff format src/ test/"
lint = "ruff check"
test = "pytest -l -rPap -vvv -p no:warnings --cov "
type = "mypy src/ridgeplot"
type = "ty check src/ridgeplot"

[tool.versioningit]
default-version = "0.0.0+unknown"
Expand Down
25 changes: 2 additions & 23 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,16 @@
# universal: false

-e file:.
cfgv==3.4.0
# via pre-commit
contourpy==1.3.0
# via matplotlib
coverage==7.6.9
# via pytest-cov
cycler==0.12.1
# via matplotlib
distlib==0.3.9
# via virtualenv
exceptiongroup==1.2.2
# via pytest
filelock==3.16.1
# via virtualenv
fonttools==4.55.3
# via matplotlib
identify==2.6.3
# via pre-commit
importlib-metadata==8.5.0
# via versioningit
importlib-resources==6.4.5
Expand All @@ -40,11 +32,6 @@ matplotlib==3.9.4
# via ridgeplot-py
more-itertools==10.5.0
# via ridgeplot-py
mypy==1.13.0
mypy-extensions==1.0.0
# via mypy
nodeenv==1.9.1
# via pre-commit
numpy==2.0.2
# via contourpy
# via matplotlib
Expand All @@ -59,11 +46,9 @@ pandas==2.2.3
# via ridgeplot-py
pillow==11.0.0
# via matplotlib
platformdirs==4.3.6
# via virtualenv
pluggy==1.5.0
# via pytest
pre-commit==4.0.1
prek==0.2.27
pyparsing==3.2.0
# via matplotlib
pytest==8.3.4
Expand All @@ -74,25 +59,19 @@ python-dateutil==2.9.0.post0
# via pandas
pytz==2024.2
# via pandas
pyyaml==6.0.2
# via pre-commit
ruff==0.8.3
scipy==1.13.1
# via ridgeplot-py
six==1.17.0
# via python-dateutil
tomli==2.2.1
# via coverage
# via mypy
# via pytest
# via versioningit
typing-extensions==4.12.2
# via mypy
ty==0.0.6
tzdata==2024.2
# via pandas
versioningit==3.1.2
virtualenv==20.28.0
# via pre-commit
zipp==3.21.0
# via importlib-metadata
# via importlib-resources
Loading