Skip to content

Commit

Permalink
ci: Check type hints (#3)
Browse files Browse the repository at this point in the history
Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau.sierra@gmail.com>
  • Loading branch information
EBoisseauSierra authored Oct 7, 2024
1 parent 3f0d62a commit 6f0c726
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md] # allow markdown linebreak at EOL
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- id: mypy
exclude: ^gsbparse
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.6.9"
rev: v0.6.9
hooks:
- id: ruff
name: "Ruff linting"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
package_data={"static": ["VERSION"]},
install_requires=["defusedxml", "pandas"],
extras_require={
"dev": ["ruff", "pre-commit"],
"dev": ["mypy", "pre-commit", "ruff"],
"test": ["pytest"],
},
classifiers=[
Expand Down

0 comments on commit 6f0c726

Please sign in to comment.