python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
18.55k stars 2.84k forks source link

[chore] Remove black and ruff from test-requirements #18139

Closed sterliakov closed 1 week ago

sterliakov commented 2 weeks ago

15210 standardized lint hooks invocations with pre-commit, but did not remove test requirements that became unneeded. Grepping for ruff and black revealed that they are never used directly any longer except for one outdated README notice.

Remove direct dependency on black and ruff, retaining them only in pre-commit configuration. pre-commit does not use local package installations and manages all virtual environments internally.

github-actions[bot] commented 2 weeks ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

github-actions[bot] commented 2 weeks ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

github-actions[bot] commented 1 week ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅