Skip to content

Commit

Permalink
Remove transitive pinning.
Browse files Browse the repository at this point in the history
This was necessary since ced66ab because flake9 did not adapt to the importlib-metadata upgrades.
Since this issue is still not fixed in flake9 it's time to move on and use flake8 after all.
  • Loading branch information
busykoala committed Jun 4, 2023
1 parent e1c0737 commit 4d137d1
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 83 deletions.
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
max-complexity = 15
max-line-length = 79
extend-ignore = "E203"
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [1.4.5] - 2023-06-04
- Use flake8 instead of flake9 to enable removing transitive override.

## [1.4.4] - 2023-05-24
- Update dependencies due to vulnerabilities.
- requests: [CVE-2023-32681](https://github.com/advisories/GHSA-j8r2-6x86-q33q)
Expand Down
146 changes: 73 additions & 73 deletions poetry.lock

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

12 changes: 2 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fastapi-opa"
version = "1.4.4"
version = "1.4.5"
description = "Fastapi OPA middleware incl. auth flow."
authors = ["Matthias Osswald <info@busykoala.io>"]
license = "GPL-3.0-or-later"
Expand All @@ -18,12 +18,9 @@ PyJWT = {extras = ["crypto"], version = ">= 2.4"}
graphene = {version = "^2", optional = true}
python3-saml = {version = "*", optional = true}
python-multipart = {version = "*", optional = true}
# transitive overrides
importlib-metadata = "< 5.0" # https://importlib-metadata.readthedocs.io/en/latest/history.html


[tool.poetry.dev-dependencies]
flake9 = "*"
flake8 = "*"
black = "*"
isort = "*"
bandit = "*"
Expand All @@ -48,11 +45,6 @@ build-backend = "poetry.core.masonry.api"
[tool.black]
line_length = 79

[tool.flake8]
max-complexity = 15
max-line-length = 79
extend-ignore = "E203"

[tool.isort]
line_length = 79
include_trailing_comma = true
Expand Down

0 comments on commit 4d137d1

Please sign in to comment.