-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
37 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
repos: | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.8.0 | ||
rev: v3.10.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: [ --py37-plus ] | ||
args: [--py37-plus] | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
rev: 23.7.0 | ||
hooks: | ||
- id: black | ||
args: [ "--target-version", "py37" ] | ||
|
||
args: ["--target-version", "py37"] | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
[metadata] | ||
# This includes the license file(s) in the wheel. | ||
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file | ||
license_files = LICENSE | ||
|
||
[bdist_wheel] | ||
# This flag says to generate wheels that support both Python 2 and Python | ||
# 3. If your code will not run unchanged on both Python 2 and 3, you will | ||
# need to generate separate wheels for each Python version that you | ||
# support. Removing this line (or setting universal to 0) will prevent | ||
# bdist_wheel from trying to make a universal wheel. For more see: | ||
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels | ||
universal = 1 | ||
|
||
[flake8] | ||
# https://black.readthedocs.io/en/stable/the_black_code_style.html | ||
# W293 blank line contains whitespace | ||
# https://www.flake8rules.com/ | ||
# E203 Whitespace before ':' | ||
max-line-length = 88 | ||
extend-ignore = E203, W293 | ||
# E501 Line too long (82 > 79 characters) | ||
extend-ignore = E203, E501 |