mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
run mypy local
This commit is contained in:
@ -43,11 +43,14 @@ repos:
|
|||||||
- id: mdformat
|
- id: mdformat
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- mdformat-gfm
|
- mdformat-gfm
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: local
|
||||||
rev: v1.5.1
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy-local
|
||||||
exclude: tests/
|
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
|
- repo: https://github.com/PrincetonUniversity/blocklint
|
||||||
rev: v0.2.5
|
rev: v0.2.5
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
1
setup.py
1
setup.py
@ -9,6 +9,7 @@ extras_require = {
|
|||||||
"build>=0.9.0",
|
"build>=0.9.0",
|
||||||
"bump_my_version>=0.19.0",
|
"bump_my_version>=0.19.0",
|
||||||
"ipython",
|
"ipython",
|
||||||
|
"mypy==1.10.0",
|
||||||
"pre-commit>=3.4.0",
|
"pre-commit>=3.4.0",
|
||||||
"tox>=4.0.0",
|
"tox>=4.0.0",
|
||||||
"twine",
|
"twine",
|
||||||
|
|||||||
Reference in New Issue
Block a user