Skip to content

Commit

Permalink
fixed pre-commit and removed i-sort (OWASP#718)
Browse files Browse the repository at this point in the history
* pre-commit fix

* Removed dependency

* Update code

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>
  • Loading branch information
abhayymishraa and arkid15r authored Feb 3, 2025
1 parent 62646d9 commit 7dd465a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 29 deletions.
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,3 @@ repos:
entry: djlint --reformat
types:
- html

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
18 changes: 1 addition & 17 deletions backend/poetry.lock

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

9 changes: 2 additions & 7 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ pygithub = "^2.5.0"
python = "^3.13"
pyyaml = "^6.0.2"
requests = "^2.32.3"
sentry-sdk = {extras = ["django"], version = "^2.20.0"}
sentry-sdk = { extras = ["django"], version = "^2.20.0" }
slack-bolt = "^1.22.0"


[tool.poetry.group.dev.dependencies]
djlint = "^1.36.4"
isort = "^6.0.0"
pre-commit = "^4.1.0"
ruff = "^0.9.3"

Expand All @@ -65,11 +64,6 @@ format_css = true
format_js = true
indent = 4

[tool.isort]
known_first_party = ["apps"]
known_third_party = ["django", "rest_framework"]
multi_line_output = 3
profile = "black"

[tool.pytest.ini_options]
DJANGO_CONFIGURATION = "Test"
Expand All @@ -96,6 +90,7 @@ log_level = "INFO"
line-length = 99

[tool.ruff.lint]
extend-select = ["I"]
ignore = [
"ANN",
"ARG002",
Expand Down

0 comments on commit 7dd465a

Please sign in to comment.