Skip to content

Commit cb424bb

Browse files
committed
Move pylint setup from failing config to recular
1 parent 87bbf79 commit cb424bb

File tree

4 files changed

+17
-25
lines changed

4 files changed

+17
-25
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ jobs:
5959
- spellcheck-docs
6060
- linkcheck-docs
6161
- doctest-docs
62-
experimental:
63-
- false
64-
include:
65-
- experimental: true
66-
os: Ubuntu
67-
python-version: 3.9
68-
toxenv: pre-commit-failing
69-
70-
continue-on-error: ${{ matrix.experimental }}
7162

7263
env:
7364
PY_COLORS: 1
@@ -130,7 +121,6 @@ jobs:
130121
- name: Initialize pre-commit envs if needed
131122
run: |
132123
test -d .tox/pre-commit && .tox/pre-commit/bin/python -m pre_commit install-hooks || :
133-
test -d .tox/pre-commit-failing && .tox/pre-commit-failing/bin/python -m pre_commit install-hooks || :
134124
- name: Run linters
135125
run: >-
136126
python -m
@@ -219,7 +209,6 @@ jobs:
219209
'tox.ini',
220210
'pyproject.toml',
221211
'.pre-commit-config.yaml',
222-
'.pre-commit-config.yaml.failing',
223212
'pytest.ini'
224213
)
225214
}}",

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,20 @@ repos:
7474
rev: v1.1.0
7575
hooks:
7676
- id: forbid-html-img-without-alt-text
77+
78+
- repo: https://github.com/PyCQA/pylint.git
79+
rev: v2.11.1
80+
hooks:
81+
- id: pylint
82+
additional_dependencies:
83+
- jaraco.context
84+
- jaraco.functools
85+
- jaraco.text
86+
- more_itertools
87+
- portend
88+
- pylint-pytest < 1.1.0
89+
- pypytools
90+
- requests_toolbelt
91+
- requests_unixsocket
92+
- six
93+
- Sphinx

.pre-commit-config.yaml.failing

Lines changed: 0 additions & 8 deletions
This file was deleted.

tox.ini

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,6 @@ deps =
163163
commands_pre =
164164
commands = pre-commit run --all-files --show-diff-on-failure {posargs}
165165

166-
[testenv:pre-commit-failing]
167-
deps =
168-
{[testenv:pre-commit]deps}
169-
commands_pre =
170-
commands = pre-commit run --config .pre-commit-config.yaml.failing --all-files --show-diff-on-failure {posargs:}
171-
172166
[testenv:setup-check]
173167
deps =
174168
setuptools-scm

0 commit comments

Comments
 (0)