Skip to content

Commit

Permalink
Drop Python 3.7 support (#135)
Browse files Browse the repository at this point in the history
* Update pre-commit hooks and fix encountered issues

* Drop python 3.7 support
  • Loading branch information
rytilahti authored Nov 4, 2023
1 parent 5a54048 commit 7d8045a
Show file tree
Hide file tree
Showing 6 changed files with 730 additions and 715 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,13 +10,13 @@ repos:
- id: check-ast

- repo: https://github.com/ambv/black
rev: 22.3.0
rev: 23.10.1
hooks:
- id: black
language_version: python3

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 6.1.0
hooks:
- id: flake8

Expand All @@ -26,15 +26,15 @@ repos:
- id: isort

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
rev: v1.6.1
hooks:
- id: mypy
args: [--no-strict-optional, --ignore-missing-imports]
additional_dependencies:
- types-attrs

- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: ['--py37-plus']
args: ['--py38-plus']
Loading

0 comments on commit 7d8045a

Please sign in to comment.