Skip to content

Commit 77c3a83

Browse files
committed
run pre-commit
1 parent 7e8bff9 commit 77c3a83

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,28 @@ repos:
2525

2626
# Sort imports
2727
- repo: https://github.com/pycqa/isort
28-
rev: "5.13.2"
28+
rev: "6.0.1"
2929
hooks:
3030
- id: isort
3131
args: ["--profile", "black"]
3232

3333
# Black formatting
3434
- repo: https://github.com/psf/black
35-
rev: "24.8.0"
35+
rev: "25.1.0"
3636
hooks:
3737
- id: black
3838
args: ["--line-length=99"]
3939

4040
# tool to automatically upgrade syntax for newer versions of the language
4141
- repo: https://github.com/asottile/pyupgrade
42-
rev: v3.17.0
42+
rev: v3.20.0
4343
hooks:
4444
- id: pyupgrade
4545
args: [--py39-plus]
4646

4747
# Lint files
4848
- repo: https://github.com/pycqa/flake8
49-
rev: "7.1.1"
49+
rev: "7.2.0"
5050
hooks:
5151
- id: flake8
5252
args: [

oqtopus/core/modules_config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import List
2-
31
import tomli
42
from pydantic import BaseModel
53

@@ -11,7 +9,7 @@ class ModuleConfig(BaseModel):
119

1210

1311
class ModulesConfig(BaseModel):
14-
modules: List[ModuleConfig]
12+
modules: list[ModuleConfig]
1513

1614

1715
def load_modules_from_conf(conf_path: str) -> ModulesConfig:

0 commit comments

Comments
 (0)