Skip to content

Commit

Permalink
chore: Remove .flake8 configuration and add ruff package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Feb 12, 2024
1 parent 0ebe86f commit ae73471
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .flake8

This file was deleted.

28 changes: 27 additions & 1 deletion poetry.lock

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

12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@ line_length = 88
multi_line_output = 3
use_parentheses = true

[tool.flake8]
extend-ignore = "E203, E266, E501"
max-line-length = 88
max-complexity = 18

[tool.djlint]
preserve_blank_lines = true

[tool.poetry]
authors = ["Ehco1996 <[email protected]>"]
description = "django sspanel"
license = "GPL-3.0 License"
name = "django-sspanel"
version = "0.1.0"

[tool.djlint]
preserve_blank_lines = true

[tool.poetry.dependencies]
Django = "^4.2.6"
Markdown = "^3.3.4"
Expand Down Expand Up @@ -50,6 +55,7 @@ autoflake = "^2.2.1"
black = "^23.12.1"
isort = "^5.12.0"
djlint = "^1.34.1"
ruff = "^0.2.1"

[build-system]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit ae73471

Please sign in to comment.