Only Python 3 is supported: don't create universal wheel

This commit is contained in:
Hugo 2020-02-04 11:57:40 +02:00
parent 27228e785f
commit cd18581fe2
3 changed files with 8 additions and 12 deletions

View file

@ -16,18 +16,17 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ matrix.os }}-pip-${{ hashFiles('**/setup.py') }}
key: lint-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ matrix.os }}-pip-
lint-pip-
- name: pre-commit cache
uses: actions/cache@v1
with:
path: ~/.cache/pre-commit
key:
${{ matrix.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
key: lint-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
restore-keys: |
${{ matrix.os }}-pre-commit-
lint-pre-commit-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1

View file

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v1.25.2
rev: v1.26.2
hooks:
- id: pyupgrade
args: ["--py3-plus"]
@ -25,13 +25,13 @@ repos:
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21
hooks:
- id: isort
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.4.3
rev: v1.4.4
hooks:
- id: python-check-blanket-noqa

View file

@ -1,6 +1,3 @@
[bdist_wheel]
universal = 1
[flake8]
ignore = W503
max_line_length = 88