feat: update python versions as part of update_dependencies (#496)
* Update python versions as part of update_dependencies * refactor: pulling out to update_pythons * refactor: rewrite and expect install * feat: support macos too, logging output * WIP: update * refactor: drive from original file * Remove unused variable * Output a diff instead of the result file, to review changes more easily * fix: minor cleanup Co-authored-by: Henry Fredrick Schreiner <henry.fredrick.schreiner@cern.ch> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
co-authored by
Henry Fredrick Schreiner
Henry Schreiner
Joe Rickerby
parent
ca7871ce0c
commit
d394386318
@@ -16,12 +16,20 @@ repos:
|
||||
hooks:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 20.8b1
|
||||
hooks:
|
||||
- id: black
|
||||
files: ^bin/update_pythons.py$
|
||||
args: ["--line-length=120"]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.790
|
||||
hooks:
|
||||
- id: mypy
|
||||
files: ^(cibuildwheel/|test/|bin/projects.py|unit_test/)
|
||||
files: ^(cibuildwheel/|test/|bin/projects.py|bin/update_pythons.py|unit_test/)
|
||||
pass_filenames: false
|
||||
additional_dependencies: [packaging, click]
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.7.4
|
||||
|
||||
Reference in New Issue
Block a user