Skip to content

Commit

Permalink
build: allow python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Blin committed Sep 20, 2022
1 parent 7561add commit b8a9bd2
Show file tree
Hide file tree
Showing 7 changed files with 455 additions and 126 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: python3.8
python: python3.7

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -20,10 +20,10 @@ repos:
- id: check-case-conflict

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v2.38.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py37-plus]

- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
Expand All @@ -33,7 +33,7 @@ repos:
additional_dependencies: [black==22.3.0]

- repo: https://github.com/myint/docformatter
rev: v1.4
rev: v1.5.0
hooks:
- id: docformatter
args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120]
Expand All @@ -52,10 +52,10 @@ repos:
args: [--profile=black]

- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.8.0
hooks:
- id: black
language_version: python3.8
language_version: python3.7
args: [--line-length=120]

- repo: https://gitlab.com/pycqa/flake8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The main features are:

### Requirements

Python 3.8+
Python 3.7+

`detection_datasets` is upon the great work of:

Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Requirements

Python 3.8+
Python 3.7+

`detection_datasets` is upon the great work of:

Expand Down
Loading

0 comments on commit b8a9bd2

Please sign in to comment.