Skip to content

Commit

Permalink
Update linter dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed Apr 4, 2023
1 parent 03c4a15 commit e30a870
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 30 deletions.
69 changes: 46 additions & 23 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,48 @@
---
ci:
autoupdate_schedule: quarterly

# See https://pre-commit.com/hooks.html for info on hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
args: [--max-line-length=120]
language_version: python3.7
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
args: [--recursive --check-only]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: trailing-whitespace

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

- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
args: [--max-line-length=88]

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

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/hakancelikdev/unimport
rev: 0.16.0
hooks:
- id: unimport
args: [--remove, --include-star-import]
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ classifiers = [

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
pelican = "^4.2"
pelican = "^4.5"
markdown = {version = "^3.1.1",optional = true}

[tool.poetry.dev-dependencies]
flake8 = "^3.7"
invoke = "^1.3"
isort = "^4.3"
flake8 = "^3.9"
invoke = "^2.0"
isort = "^5.12.0"
livereload = "^2.6"
markdown = "^3.1.1"
pytest = ">=5.0,!=5.4.0,!=5.4.1"
pytest-cov = "^2.7"
pytest = "^6.0"
pytest-cov = "^2.8"
pytest-pythonpath = "^0.7.3"
pytest-sugar = "^0.9.2"
pytest-sugar = "^0.9.6"
Werkzeug = "^0.15.5"

[tool.poetry.extras]
Expand Down

0 comments on commit e30a870

Please sign in to comment.