Skip to content

Commit

Permalink
Adding bandit check rules (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcieltorres committed Dec 18, 2023
1 parent 8fcc8de commit d2e7ef2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ Namespaces are one honking great idea -- let's do more of those!
- [DRY](http://deviq.com/don-t-repeat-yourself/) - Don't repeat yourself.
- [KISS](https://deviq.com/keep-it-simple/) - Keep it simple stupid.


# Coding Style

We are using [Ruff](https://github.com/astral-sh/ruff) to manage the coding style [rules](https://beta.ruff.rs/docs/rules/).

Rule | Description
--- | ---
E,W | [pycode style](https://pypi.org/project/pycodestyle/)
F | [pyflakes](https://pypi.org/project/pyflakes/)
I | [isort](https://pypi.org/project/isort/)
N | [pep8-naming](https://pypi.org/project/pep8-naming/)
F | [pyflakes](https://pypi.org/project/pyflakes/)
I | [isort](https://pypi.org/project/isort/)
N | [pep8-naming](https://pypi.org/project/pep8-naming/)
S | [flake8-bandit](https://pypi.org/project/flake8-bandit/)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ directory = "htmlcov"

[tool.ruff]
line-length = 120
select = ["E", "F", "W", "I", "N"]
select = ["E", "F", "W", "I", "N", "S"]
target-version = "py311"

[build-system]
Expand Down

0 comments on commit d2e7ef2

Please sign in to comment.