Skip to content

Commit

Permalink
style(Configs): Updated the configs base on pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
radinceorc committed Sep 2, 2024
1 parent 4351181 commit 4013d53
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ manage.py
# Ignore all migrations files except __init__.py
**/migrations/*
!**/migrations/__init__.py
bandit_report.txt
bandit_report.txt
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: packages/requirements-dev.txt
- requirements: packages/requirements-dev.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ INSTALLED_APPS = [
]
MODEL_PREFIX = "invoice"
MODEL_TEMPLATE = "sage_invoice"
```
```
52 changes: 42 additions & 10 deletions poetry.lock

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

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages = [
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
django = [
{ version = ">=4.2,<5.0", python = ">=3.8,<3.10"},
{ version = ">=4.2,<5.0", python = ">=3.8,<3.10"},
{ version = ">=4.2,<5.3", python = ">=3.10" } # Django 4.2 and 5.x for Python 3.10+
]
jinja2 = "^3.1.4"
Expand All @@ -35,6 +35,8 @@ codecov = "^2.1.13"
ruff = "^0.5.7"
commitizen = "^3.29.0"
pytest-django = "^4.8.0"
pylint-django = "^2.5.5"

bandit = {extras = ["toml"], version = "^1.7.9"}

[tool.poetry.extras]
Expand Down Expand Up @@ -209,4 +211,4 @@ module-rgx = "(([a-z_][a-z0-9_]*)|(__.*__))$"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ description = Run pre-commit hooks
deps =
pre-commit
commands =
pre-commit run --all-files
pre-commit run --all-files

0 comments on commit 4013d53

Please sign in to comment.