File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v5 .0.0
3+ rev : v6 .0.0
44 hooks :
55 - id : end-of-file-fixer
66 - id : check-added-large-files
77 - id : check-merge-conflict
88 - id : check-docstring-first
99 - id : debug-statements
1010 - repo : https://github.com/astral-sh/ruff-pre-commit
11- rev : v0.12.2
11+ rev : v0.13.3
1212 hooks :
1313 - id : ruff
1414 args : [--fix, --exit-non-zero-on-fix]
1515 - repo : https://github.com/alessandrojcm/commitlint-pre-commit-hook
16- rev : v9.22 .0
16+ rev : v9.23 .0
1717 hooks :
1818 - id : commitlint
1919 stages : [commit-msg]
Original file line number Diff line number Diff line change 11import importlib
2- from typing import Optional
32
43from fastapi_module_loader .exceptions import ImproperlyConfiguredModules
54from fastapi_module_loader .module import BaseModule
@@ -10,7 +9,7 @@ class ModuleLoader:
109 Loads `ModuleConfig` instances.
1110 """
1211
13- modules : dict [str , Optional [ BaseModule ] ]
12+ modules : dict [str , BaseModule | None ]
1413 is_loaded : bool = False
1514 is_setup : bool = False
1615
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ Repository = "https://github.com/team23/fastapi-module-loading"
1515
1616[dependency-groups ]
1717dev = [
18- " pytest>=7.1 .2,<9.0.0" ,
19- " pytest-cov>=3 ,<8" ,
20- " tox>=3.26 ,<5.0" ,
21- " httpx>=0.24 .1,<1.0.0" ,
22- " ruff>=0.5.0 ,<0.14.0" ,
23- " pyright>=1.1.350 ,<1.2" ,
18+ " pytest>=8.4 .2,<9.0.0" ,
19+ " pytest-cov>=7.0.0 ,<8" ,
20+ " tox>=4.30.3 ,<5.0" ,
21+ " httpx>=0.28 .1,<1.0.0" ,
22+ " ruff>=0.13.3 ,<0.14.0" ,
23+ " pyright>=1.1.406 ,<1.2" ,
2424]
2525
2626[tool .ruff ]
You can’t perform that action at this time.
0 commit comments