Skip to content

Commit

Permalink
Bump linters
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjkjvfnby committed Apr 15, 2024
1 parent 717587a commit 779a5e3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_stages:
- manual
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
Expand All @@ -16,7 +16,7 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
rev: v0.3.7
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -25,7 +25,7 @@ repos:
hooks:
- id: gitlint
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.8.0'
rev: 'v1.9.0'
hooks:
- id: mypy
- repo: https://github.com/codespell-project/codespell
Expand Down
1 change: 1 addition & 0 deletions declared_env/_declared_variables.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Variables declarations."""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions declared_env/_environment_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
https://realpython.com/python-descriptors/
"""

from abc import ABC
from logging import error

Expand Down
1 change: 1 addition & 0 deletions declared_env/_exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Custom exceptions."""

from typing import Any


Expand Down
1 change: 1 addition & 0 deletions declared_env/_prefixable.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Abstract class with prefix attribute."""

from abc import ABC, abstractmethod


Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ lint.ignore = [
"D203",
"FLY002", # fix produces invalid code https://github.com/astral-sh/ruff/issues/5150
"G004", # logging with f string is ok
"COM812",
"ISC001",
]
line-length = 98
target-version = "py39"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pre-commit==3.4.0
pre-commit==3.7.0

-r requirements-ci.txt

0 comments on commit 779a5e3

Please sign in to comment.