Skip to content

Commit

Permalink
Move from abandoned flakehell to flakeheaven
Browse files Browse the repository at this point in the history
  • Loading branch information
connelldave authored and David Connell committed Jan 19, 2022
1 parent 8bbe621 commit f5b8494
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Install dev packages
run: poetry install -n -v

- name: Lint with flakehell
run: poetry run flakehell lint
- name: Lint with flakeheaven
run: poetry run flakeheaven lint

- name: Lint with black
run: poetry run black . --check
Expand Down
32 changes: 16 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ python = "^3.8"
boto3 = "*"
tqdm = "*"
boto3-stubs = {extras = ["sts", "organizations"], version = "*"}
flakeheaven = "^0.11.0"

[tool.poetry.dev-dependencies]
pytest = "*"
pytest-mock = "*"
isort = "*"
flakehell = "*"
black = "*"
flake8-bandit = "*"
flake8-bugbear = "*"
Expand All @@ -45,13 +45,13 @@ force_grid_wrap=0
use_parentheses=true
line_length=88

[tool.flakehell]
[tool.flakeheaven]
exclude = ["README.rst", "README.md", ".git","__pycache__",".venv"]
format = "colored"
max_line_length = 88
show_source = true

[tool.flakehell.plugins]
[tool.flakeheaven.plugins]
flake8-bandit = ["+*", "-S322"]
flake8-bugbear = ["+*"]
flake8-builtins = ["+*"]
Expand All @@ -66,7 +66,7 @@ pycodestyle = ["+*"]
pyflakes = ["+*"]
pylint = ["+*"]

[tool.flakehell.exceptions."tests/"]
[tool.flakeheaven.exceptions."tests/"]
flake8-bandit = ["+*", "-S322", "-S101"]

[tool.black]
Expand Down

0 comments on commit f5b8494

Please sign in to comment.