Skip to content

Commit

Permalink
build(poetry): update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-keller committed Dec 5, 2023
1 parent 8766551 commit 7083253
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Check code formatting
run: poetry run black --check .
- name: Run linter
run: poetry run ruff .
run: poetry run ruff check
- name: Run type checker
run: poetry run mypy
- name: Run unit tests
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ repos:
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.7
hooks:
- id: ruff
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.0
rev: v1.7.1
hooks:
- id: mypy
- repo: https://github.com/python-poetry/poetry
rev: 1.7.0
hooks:
- id: poetry-check
- repo: https://github.com/commitizen-tools/commitizen
rev: 3.12.0
rev: v3.13.0
hooks:
- id: commitizen
2 changes: 1 addition & 1 deletion peprock/datetime/awareness.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from __future__ import annotations

import datetime # noqa: TCH003
import datetime
import functools


Expand Down
94 changes: 47 additions & 47 deletions poetry.lock

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

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pre-commit = "^3.1.1"
pdoc3 = "^0.10.0"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
ruff = "^0.1.0"
ruff = "^0.1.7"

[tool.poetry.urls]
"Ponte Energy Partners" = "https://ponte.energy"
Expand All @@ -94,8 +94,8 @@ line-length = 120
# https://docs.astral.sh/ruff/rules/
select = [
"F", # Pyflakes
"E", # pycodestyle
"W", # pycodestyle
"E", # pycodestyle
"C90", # mccabe
"I", # isort
"N", # pep8-naming
Expand All @@ -104,6 +104,7 @@ select = [
"YTT", # flake8-2020
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"TRIO", # flake8-trio
"S", # flake8-bandit
"BLE", # flake8-blind-except
"FBT", # flake8-boolean-trap
Expand Down

0 comments on commit 7083253

Please sign in to comment.