Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into new-fd-method
Browse files Browse the repository at this point in the history
  • Loading branch information
schroedtert committed Oct 12, 2024
2 parents 6904ee0 + e18bfce commit 9095a46
Show file tree
Hide file tree
Showing 10 changed files with 104 additions and 652 deletions.
30 changes: 30 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.8
hooks:
- id: ruff
alias: ruff-include-sorting
name: Check include sorting (ruff)
args: ['check', '--select', 'I', '--fix', '.']
- id: ruff-format
name: Check formatting (ruff)
args: ['.']
- id: ruff
alias: ruff-linting
name: Linting (ruff)
files: ^pedpy/

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2 # Use the latest version of mypy available at the time
hooks:
- id: mypy
name: Check type hints (mypy)
additional_dependencies: [
"numpy~=2.1",
"pandas~=2.2.3",
"Shapely~=2.0.6",
"scipy~=1.14",
"matplotlib~=3.9",
"h5py~=3.11"
]
exclude: "(^helper/|^docs/|^scripts/|^tests/)"
Loading

0 comments on commit 9095a46

Please sign in to comment.