Skip to content

Commit

Permalink
Remove bandit, black, flake8 and pydocstyle
Browse files Browse the repository at this point in the history
From CI.
  • Loading branch information
smk4664 committed Aug 24, 2024
1 parent 597bc2f commit 7c2ac13
Showing 1 changed file with 7 additions and 43 deletions.
50 changes: 7 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on: # yamllint disable
- "pull_request"

jobs:
black:
ruff-format:
runs-on: "ubuntu-20.04"
env:
INVOKE_NAUTOBOT_CHATOPS_LOCAL: "True"
Expand All @@ -19,9 +19,9 @@ jobs:
uses: "networktocode/gh-action-setup-poetry-environment@v2"
with:
python-version: "3.10"
- name: "Linting: black"
run: "poetry run invoke black"
bandit:
- name: "Linting: ruff format"
run: "poetry run invoke ruff --action format"
ruff-lint:
runs-on: "ubuntu-20.04"
env:
INVOKE_NAUTOBOT_CHATOPS_LOCAL: "True"
Expand All @@ -32,40 +32,8 @@ jobs:
uses: "networktocode/gh-action-setup-poetry-environment@v2"
with:
python-version: "3.10"
- name: "Linting: bandit"
run: "poetry run invoke bandit"
needs:
- "black"
pydocstyle:
runs-on: "ubuntu-20.04"
env:
INVOKE_NAUTOBOT_CHATOPS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v2"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v2"
with:
python-version: "3.10"
- name: "Linting: pydocstyle"
run: "poetry run invoke pydocstyle"
needs:
- "black"
flake8:
runs-on: "ubuntu-20.04"
env:
INVOKE_NAUTOBOT_CHATOPS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v2"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v2"
with:
python-version: "3.10"
- name: "Linting: flake8"
run: "poetry run invoke flake8"
needs:
- "black"
- name: "Linting: ruff"
run: "poetry run invoke ruff"
yamllint:
runs-on: "ubuntu-20.04"
env:
Expand All @@ -79,8 +47,6 @@ jobs:
python-version: "3.10"
- name: "Linting: yamllint"
run: "poetry run invoke yamllint"
needs:
- "black"
pylint:
runs-on: "ubuntu-20.04"
steps:
Expand All @@ -95,9 +61,7 @@ jobs:
- name: "Linting: Pylint"
run: "poetry run invoke pylint"
needs:
- "bandit"
- "pydocstyle"
- "flake8"
- "ruff-lint"
- "yamllint"
unittest:
strategy:
Expand Down

0 comments on commit 7c2ac13

Please sign in to comment.