mirror of https://github.com/scrapy/scrapy.git
Avoid duplicities in CI; remove pylint from pre-commit
This commit is contained in:
parent
5dcf8b9015
commit
17354a61b1
|
|
@ -8,12 +8,6 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- python-version: "3.11"
|
||||
env:
|
||||
TOXENV: security
|
||||
- python-version: "3.11"
|
||||
env:
|
||||
TOXENV: flake8
|
||||
- python-version: "3.11"
|
||||
env:
|
||||
TOXENV: pylint
|
||||
|
|
@ -26,13 +20,9 @@ jobs:
|
|||
- python-version: "3.11"
|
||||
env:
|
||||
TOXENV: twinecheck
|
||||
- python-version: "3.11"
|
||||
env:
|
||||
TOXENV: black
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
|
|
@ -44,3 +34,9 @@ jobs:
|
|||
run: |
|
||||
pip install -U tox
|
||||
tox
|
||||
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
|
|
|
|||
|
|
@ -8,11 +8,6 @@ repos:
|
|||
rev: 6.0.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
- repo: https://github.com/PyCQA/pylint
|
||||
rev: v2.15.6
|
||||
hooks:
|
||||
- id: pylint
|
||||
args: [conftest.py, docs, extras, scrapy, setup.py, tests]
|
||||
- repo: https://github.com/psf/black.git
|
||||
rev: 22.12.0
|
||||
hooks:
|
||||
|
|
@ -20,4 +15,4 @@ repos:
|
|||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
- id: isort
|
||||
|
|
|
|||
Loading…
Reference in New Issue