mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
linters: Remove pydocstyle from linter checks
Pydocstyle has been deprecated is no longer in development. It is also not a requirement for Ansible tests. This patch removes pydocstyle from current checks performed.
This commit is contained in:
15
.github/workflows/lint.yml
vendored
15
.github/workflows/lint.yml
vendored
@@ -34,21 +34,6 @@ jobs:
|
||||
- name: Run yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v3.1.1
|
||||
|
||||
pydocstyle:
|
||||
name: Verify pydocstyle
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: actions/setup-python@v5.1.0
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- name: Run pydocstyle
|
||||
run: |
|
||||
pip install pydocstyle
|
||||
pydocstyle
|
||||
|
||||
flake8:
|
||||
name: Verify flake8
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -29,10 +29,6 @@ repos:
|
||||
rev: 7.0.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
- repo: https://github.com/pycqa/pydocstyle
|
||||
rev: 6.3.0
|
||||
hooks:
|
||||
- id: pydocstyle
|
||||
- repo: https://github.com/pycqa/pylint
|
||||
rev: v3.2.2
|
||||
hooks:
|
||||
|
||||
@@ -5,6 +5,5 @@ flake8==7.0.0
|
||||
flake8-bugbear
|
||||
pylint>=3.2
|
||||
wrapt==1.14.1
|
||||
pydocstyle==6.3.0
|
||||
yamllint==1.35.1
|
||||
ansible-lint>=24.5.0
|
||||
|
||||
@@ -28,10 +28,6 @@ per-file-ignores =
|
||||
plugins/*:E402
|
||||
roles/*:E402
|
||||
|
||||
[pydocstyle]
|
||||
inherit = false
|
||||
ignore = D1,D212,D203
|
||||
|
||||
[pylint.MASTER]
|
||||
disable =
|
||||
consider-using-f-string, # f-string is not supported on Python2
|
||||
|
||||
@@ -10,8 +10,6 @@ pushd "${topdir}/.." >/dev/null 2>&1 || exit 1
|
||||
|
||||
echo -e "${INFO}Running 'flake8'...${RST}"
|
||||
flake8 plugins utils roles setup.py
|
||||
echo -e "${INFO}Running 'pydocstyle'...${RST}"
|
||||
pydocstyle plugins utils roles setup.py
|
||||
echo -e "${INFO}Running 'pylint'...${RST}"
|
||||
pylint plugins roles setup.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user