Skip to content

Commit

Permalink
oops, missed some files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidslusser committed Feb 2, 2024
1 parent 41233b6 commit 973bc04
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [push]

jobs:
bandit:
runs-on: ubuntu-latest
name: "bandit"
steps:
- uses: davidslusser/actions_python_bandit@v1.0.0
with:
src: "src"
options: "-c pyproject.toml -r"
python_version: "3.11"
12 changes: 12 additions & 0 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [push]

jobs:
black:
runs-on: ubuntu-latest
name: "black"
steps:
- uses: davidslusser/actions_python_black@v1.0.0
with:
src: "src"
options: ""
python_version: "3.11"
12 changes: 12 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [push]

jobs:
ruff:
runs-on: ubuntu-latest
name: "ruff"
steps:
- name: actions_python_ruff
uses: davidslusser/actions_python_ruff@v1.0.0
with:
src: "src"
options: "-v"
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[tool.bandit]
exclude_dirs = [".venv", "venv", "src/*/tests"]


[tool.black]
line-length = 120
exclude = """manage.py|migrations"""


[tool.ruff]
line-length = 120
exclude = ["src/*/migrations", "src/manage.py"]

0 comments on commit 973bc04

Please sign in to comment.