Skip to content

Commit

Permalink
Package updates (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apakottur authored Sep 30, 2024
1 parent bbb7f93 commit 7ad569a
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 61 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ repos:
- id: yamllint
args: ['--config-file', './linters/yamllint.yaml']
- repo: https://github.com/biomejs/pre-commit
rev: v0.4.0
rev: v0.5.0
hooks:
- id: biome-check
args: [--config-path, ./linters]
additional_dependencies: ["@biomejs/biome@1.8.3"]
additional_dependencies: ["@biomejs/biome@1.9.2"]
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.13.2
rev: v8.13.3
hooks:
- id: cspell
exclude: \.(csv|json|txt|lock)$
Expand All @@ -77,7 +77,7 @@ repos:
- id: python-no-log-warn
- id: python-use-type-annotations
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.8
hooks:
- id: ruff
args: [--config, ./linters/ruff.toml]
Expand All @@ -88,17 +88,17 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==24.4.26
- flake8-bugbear==24.8.19
- flake8-comprehensions==3.15.0
- flake8-picky-parentheses==0.5.5
- flake8-pyi==24.6.0
- flake8-pyi==24.9.0
- pep8-naming==0.14.1
- pydoclint==0.5.6
- pydoclint==0.5.9
args: [--config, ./linters/.flake8]
types: [file]
types_or: [python, pyi]
- repo: https://github.com/jendrikseipp/vulture
rev: v2.11
rev: v2.12
hooks:
- id: vulture
args: ["shpyx", "tests"]
7 changes: 7 additions & 0 deletions linters/.flake8
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,14 @@ ignore =
DOC203
# Class X should not have a docstring; please combine it with the docstring of the class
DOC301
# Function X has "yield" statements, but the docstring does not have a "Yields" section
DOC402
# Method X yield type(s) in docstring not consistent with the return annotation.
DOC404
# Class X: Class docstring contains fewer class attributes than actual class attributes.
DOC601
# Class X: Class docstring attributes are different from actual class attributes.
DOC603

###################################
# Other checks that we don't want #
Expand All @@ -109,3 +115,4 @@ max-line-length = 120
# Pydoclint
style = google
arg-type-hints-in-docstring = False
skip-checking-short-docstrings = False
100 changes: 50 additions & 50 deletions poetry.lock

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

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.masonry.api"
[tool.poetry]
name = "shpyx"
packages = [{include = "shpyx"}]
version = "0.0.29"
version = "0.0.30"
description = "Run shell commands in Python"
authors = ["Yossi Rozantsev"]
license = "MIT"
Expand All @@ -28,9 +28,9 @@ include = ["shpyx/py.typed"]
python = "^3.9"

[tool.poetry.dev-dependencies]
mypy = "1.11.1"
mypy = "1.11.2"
pre-commit = "3.8.0"
pytest = "8.3.2"
pytest = "8.3.3"
pytest-cov = "5.0.0"
pytest-mock = "3.14.0"

Expand Down

0 comments on commit 7ad569a

Please sign in to comment.