Skip to content

Commit

Permalink
Fix 323: Update rich dep version (#324)
Browse files Browse the repository at this point in the history
* Update rich dep version and min python version

- Also update lockfile deps.

* Remove type: ignore comments that mypy said were unnecessary

* Change all references to `rich.console.RenderGroup` to `rich.console.Group`

* Update pre-commit hooks; run black

* Add ignores for new mypy error due to updating mypy precommit hook

- Just adding ignores for now, since I am not familiar with the codebase
- The tests still run successfully

* Minimum Python version ^3.7.8

* Remove Python 3.6 from GitHub Actions build

* Update poetry.lock

Co-authored-by: Darren Burns <darrenb900@gmail.com>
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
  • Loading branch information
3 people committed Apr 10, 2022
1 parent 832988b commit d6f14b4
Show file tree
Hide file tree
Showing 11 changed files with 217 additions and 266 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
defaults:
run:
shell: bash
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.2.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -27,28 +27,28 @@ repos:
- id: rst-directive-colons
- id: rst-inline-touching-normal
- repo: https://github.com/asottile/blacken-docs
rev: v1.11.0
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [ black==21.5b1 ]
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/asottile/yesqa
rev: v1.2.3
rev: v1.3.0
hooks:
- id: yesqa
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
rev: v0.942
hooks:
- id: mypy
# This path contains a module with duplicate name so needs to be excluded.
Expand Down

0 comments on commit d6f14b4

Please sign in to comment.