Skip to content

Commit

Permalink
Merge pull request #123 from ASFHyP3/pin-mypy
Browse files Browse the repository at this point in the history
Pin ruff and mypy
  • Loading branch information
jtherrmann authored Feb 10, 2025
2 parents a68a198 + 4116866 commit 3334a06
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
19 changes: 15 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: pip
directory: /
schedule:
interval: "weekly"
interval: weekly
labels:
- "bumpless"
- bumpless
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- bumpless
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:
- pytest
- pytest-cov
- pytest-dependency
- ruff
- mypy
- pip:
- -r requirements-static.txt
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ convention = "google"
case-sensitive = true
lines-after-imports = 2

[tool.ruff.lint.extend-per-file-ignores]
"tests/*" = ["D100", "D103", "ANN"]

[tool.mypy]
python_version = "3.9"
warn_redundant_casts = true
Expand Down
2 changes: 2 additions & 0 deletions requirements-static.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ruff==0.9.5
mypy==1.14.1

0 comments on commit 3334a06

Please sign in to comment.