Skip to content

Commit

Permalink
Update dev dependencies, removing some unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed May 14, 2024
1 parent 2393273 commit 999b47c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 21 deletions.
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for info on hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -19,43 +19,43 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [Flake8-pyproject]

- repo: https://github.com/PyCQA/isort
rev: 5.11.5
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.8
hooks:
- id: bandit
args: ["-lll", "-vr", "kagi", "testproj"]

- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.3.1
rev: v1.3.3
hooks:
- id: python-safety-dependencies-check
# 51457: https://github.com/pytest-dev/py/issues/287
args: ["--disable-telemetry", "--ignore=51457"]
# 65213: https://data.safetycli.com/vulnerabilities/CVE-2023-6129/65213/
args: ["--disable-optional-telemetry", "--ignore=65213"]
files: pyproject.toml

- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://github.com/hakancelikdev/unimport
rev: 0.16.0
rev: 1.2.1
hooks:
- id: unimport
args: [--remove, --include-star-import]
20 changes: 9 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,26 @@ classifiers = [

[tool.poetry.dependencies]
Django = ">= 2.2"
python = ">= 3.8, < 4.0"
python = ">= 3.8.1, < 4.0"
qrcode = ">= 6.1, < 8.0"
webauthn = "^1.6.0"

[tool.poetry.group.dev.dependencies]
black = "^23.3"
flake8 = "^5.0"
black = "^24.4"
flake8 = "^7.0"
Flake8-pyproject = "^1.2.3"
furo = "2024.04.27"
invoke = "^2.0"
isort = "^5.11"
livereload = "^2.6"
isort = "^5.13"
pretend = "^1.0.9"
psutil = { version = "^5.7", optional = true }
pyOpenSSL = "^23.0"
pytest = "^7.1"
pytest-cov = "^3.0"
pyOpenSSL = "^24.1"
pytest = "^8.2"
pytest-cov = "^5.0"
pytest-django = "^4.0"
pytest-sugar = "^0.9"
pytest-xdist = "^2.1"
pytest-sugar = "^1.0"
pytest-xdist = "^3.6"
sphinx = "^6.0"
Werkzeug = "^2.0"

[tool.autopub]
project-name = "Kagi"
Expand Down

0 comments on commit 999b47c

Please sign in to comment.