Skip to content

Commit 5d856a9

Browse files
author
Hugo Osvaldo Barrera
committed
Set black and pyupgrade to target Python 3.7+
1 parent 9907987 commit 5d856a9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
rev: v2.34.0
2626
hooks:
2727
- id: pyupgrade
28-
args: [--py36-plus]
28+
args: [--py37-plus]
2929
- repo: https://github.com/pre-commit/mirrors-mypy
3030
rev: 'v0.961'
3131
hooks:

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
44
[tool.setuptools_scm]
55
write_to = "barcode/version.py"
66
version_scheme = "post-release"
7+
8+
[tool.black]
9+
target-version = ['py37']

0 commit comments

Comments
 (0)