Skip to content

Commit

Permalink
chore: Update dependencies and add pre-commit for code linting and fo…
Browse files Browse the repository at this point in the history
…rmatting
  • Loading branch information
arturboyun committed May 27, 2024
1 parent 0a32868 commit 5a97551
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
python-version: ["3.12.3"]
poetry-version: ["1.8.3"]

Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff
rev: v0.4.5
hooks:
- id: ruff
181 changes: 180 additions & 1 deletion poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pytest-cov = "^5.0.0"
pylint = {extras = ["spelling"], version = "^3.2.2"}
ruff = "^0.4.5"
# mypy = "^1.11.0"
pre-commit = "^3.7.1"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 5a97551

Please sign in to comment.