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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ htmlcov/

# Generated by setuptools_scm
src/fatpy/_version.py

# Pre-commit hooks
.cache_pre_commit/
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: requirements-dev.txt
- id: check-added-large-files

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.6
rev: v0.13.1
hooks:
- id: ruff
args:
Expand All @@ -17,6 +17,6 @@ repos:
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.18.2
hooks:
- id: mypy
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
33 changes: 19 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ classifiers = [
]

dependencies = [
"matplotlib>=3.10.0",
"numpy>=2.2.2",
"pandas>=2.2.3",
"matplotlib>=3.10.6",
"numpy>=2.3.3",
"pandas>=2.3.2",
# "scipy>=1.15.1",
]

Expand All @@ -33,18 +33,18 @@ dependencies = [

[tool.uv]
dev-dependencies = [
"mypy>=1.15.0",
"ruff>=0.11.3",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"mypy>=1.18.2",
"ruff>=0.13.1",
"pre-commit>=4.3.0",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"pytest-mock>=3.15.1",
"pytest-mypy>=1.0.1",
"pytest-ruff>=0.4.1",
"pytest-ruff>=0.5",
"mkdocs>=1.6.1",
"mkdocs-material[imaging]>=9.5.15",
"mkdocstrings[python]>=0.29.1",
"mkdocs-autorefs>=1.0.0",
"mkdocs-material[imaging]>=9.6.20",
"mkdocstrings[python]>=0.30.1",
"mkdocs-autorefs>=1.4.3",
]

[tool.pytest.ini_options]
Expand Down Expand Up @@ -129,18 +129,23 @@ docstring-code-line-length = "dynamic"

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"tests/**" = [
"D", # pydocstyle
"B", # bugbear
"S", # bandit
]

[tool.mypy]
python_version = "3.12"
files = "src"
strict = true
ignore_missing_imports = true
check_untyped_defs = true
disallow_subclassing_any = true
warn_unreachable = true
warn_unused_configs = true
show_error_context = true
show_column_numbers = true
disallow_untyped_decorators = false

[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2", "wheel"]
Expand Down
Empty file added src/fatpy/py.typed
Empty file.
Loading