Skip to content

Commit

Permalink
Update dependencies and fix CI (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamdanal authored Dec 16, 2023
1 parent 7cafe0e commit 12e4b85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
ci:
autoupdate_schedule: "monthly"
autoupdate_schedule: "quarterly"

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ commands =

[tool.ruff]
line-length = 100
select = ["E", "F", "C", "B", "UP", "RUF100", "TID"]
select = ["E", "F", "C", "B", "UP", "RUF100", "TID", "T10"]
unfixable = ["B"]
ignore = ["E501"]
isort.required-imports = ["from __future__ import annotations"]
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest
coverage[toml]
coverage[toml]!=7.3.3
covdefaults

0 comments on commit 12e4b85

Please sign in to comment.