From 1cd21cf16e8899dd43419f30f3163601e18bc991 Mon Sep 17 00:00:00 2001 From: Marciel Torres Date: Mon, 18 Dec 2023 09:19:07 -0300 Subject: [PATCH] Adding bandit check rules --- CONTRIBUTING.md | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e5d5a33..e262f90 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,7 +33,6 @@ 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/). @@ -41,6 +40,7 @@ We are using [Ruff](https://github.com/astral-sh/ruff) to manage the coding styl 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/) diff --git a/pyproject.toml b/pyproject.toml index 0783d53..7e828fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]