Skip to content

Commit

Permalink
Reimplemented tailwind management command using django_typer.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverandrich committed Mar 10, 2024
1 parent a5a4d59 commit 96d8842
Show file tree
Hide file tree
Showing 6 changed files with 258 additions and 331 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ repos:
- id: check-json

- repo: https://github.com/psf/black
rev: 23.10.0
rev: 24.2.0
hooks:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.1.1"
rev: "v0.3.2"
hooks:
- id: ruff

Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"python.testing.pytestArgs": ["tests"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
46 changes: 23 additions & 23 deletions poetry.lock

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

47 changes: 13 additions & 34 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,48 +82,27 @@ ignore = ["./tests/**/*"]
target-version = "py38"
line-length = 120
select = [
"A",
"ARG",
"B",
"C",
"DJ",
"DTZ",
"E",
"EM",
"F",
"FBT",
"I",
"ICN",
"ISC",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"Q",
"RUF",
"S",
"T",
"TID",
"UP",
"W",
"YTT",
"A", # flake8-builtins
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DJ", # flake8-django
"E", # pycodestyle
"F", # pyflakes
"FBT", # flake8-boolean-trap
"N", # pep8-naming
"Q", # flake8-quotes
"TID", # flake8-tidy-imports
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
# Allow non-abstract empty methods in abstract base classes
"B027",
# Allow boolean positional values in function calls, like `dict.get(... True)`
"FBT003",
# Ignore checks for possible passwords
"S105",
"S106",
"S107",
# Ignore complexity
"C901",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
]
unfixable = [
# Don't touch unused imports
Expand Down
Loading

0 comments on commit 96d8842

Please sign in to comment.