Skip to content

Commit

Permalink
run mypy local
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Nov 22, 2024
1 parent 6a927ac commit 1280617
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@ repos:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
- repo: local
hooks:
- id: mypy
exclude: tests/
- id: mypy-local
name: run mypy with all dev dependencies present
entry: python -m mypy -p <MODULE_NAME>
language: system
always_run: true
pass_filenames: false
- repo: https://github.com/PrincetonUniversity/blocklint
rev: v0.2.5
hooks:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019-2024 The Ethereum Foundation
Copyright (c) 2019-2025 The Ethereum Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build>=0.9.0",
"bump_my_version>=0.19.0",
"ipython",
"mypy==1.10.0",
"pre-commit>=3.4.0",
"tox>=4.0.0",
"twine",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extras=
docs
allowlist_externals=make,pre-commit

[testenv:py{39,310,311,313}-lint]
[testenv:py{39,310,311,312,313}-lint]
deps=pre-commit
commands=
pre-commit install
Expand Down

0 comments on commit 1280617

Please sign in to comment.