Skip to content

Commit

Permalink
Set black and pyupgrade to target Python 3.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Osvaldo Barrera committed Jul 11, 2022
1 parent 9907987 commit 5d856a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
rev: v2.34.0
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.961'
hooks:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
[tool.setuptools_scm]
write_to = "barcode/version.py"
version_scheme = "post-release"

[tool.black]
target-version = ['py37']

0 comments on commit 5d856a9

Please sign in to comment.