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 uses: actions/cache@v1
with: with:
path: ~/.cache/pip path: ~/.cache/pip
key: ${{ matrix.os }}-pip-${{ hashFiles('**/setup.py') }} key: lint-pip-${{ hashFiles('**/setup.py') }}
restore-keys: | restore-keys: |
${{ matrix.os }}-pip- lint-pip-
- name: pre-commit cache - name: pre-commit cache
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ~/.cache/pre-commit path: ~/.cache/pre-commit
key: key: lint-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
${{ matrix.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
restore-keys: | restore-keys: |
${{ matrix.os }}-pre-commit- lint-pre-commit-
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1 uses: actions/setup-python@v1

View file

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

View file

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