6c90a76b56
Tighten up ruff ignore list ( #18837 )
...
* Tighten up ruff ignore list
* Okay that fix was indeed unsafe
* enable type-name-incorrect-variance
* enable literal-membership
* enable non-augmented-assignment
* enable useless-return
* enable global-variable-not-assigned
* -
* fixup
* Clean up roff.toml from annotations
* use ignore instead of explicit re-export
* use more descriptive names
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-11-12 12:19:31 -07:00
Kyle Altendorf and GitHub
740282a636
add poetry check ... well, check ( #18357 )
...
* add poetry check ... well, check
* add poetry check to pre-commit
* touchup
* Update activated.sh
* Update activated.ps1
2024-07-29 12:30:05 -07:00
Kyle Altendorf and GitHub
def8661309
matrix pre-commit ci against python version ( #17698 )
...
* matrix pre-commit ci against python version
* name
* `.absolute()`
2024-03-25 11:58:04 -07:00
Kyle Altendorf and GitHub
3b084a165b
configure isort to add the future annotations import ( #13327 )
...
* configure isort to add the future annotations import
* apply the new isort setting
* remove type ignores for new mypy (#13539 )
https://pypi.org/project/mypy/0.981/
* another
2022-09-30 03:40:22 -05:00
dustinface and GitHub
43d679dba3
pre-commit: Fix a venv activation issue on linux ( #12822 )
...
* pre-commit: Fix a venv activation issue on linux
I ended up with the same issue as in https://github.com/Chia-Network/chia-blockchain/pull/12235 and using `.` instead of `source` (Which is supposed to be the same?) fixed it.
* Make it all `sh`
2022-08-09 18:27:11 -05:00
Kyle Altendorf and GitHub
0aa2019526
make pre-commit mypy run use regular venv (via activated shim) ( #12077 )
...
* make pre-commit mypy run use regular venv (via activated shim)
* & not Invoke-Expression
* Update activated.ps1
* install for pre-commit
* Update activated.sh
* Update .pre-commit-config.yaml
2022-06-27 12:13:22 -05:00