File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v4.6 .0
3+ rev : v6.0 .0
44 hooks :
55 - id : check-added-large-files
66 - id : check-json
@@ -12,19 +12,19 @@ repos:
1212 exclude : ' \.eml$'
1313
1414 - repo : https://github.com/psf/black
15- rev : 24.4.2
15+ rev : 25.9.0
1616 hooks :
1717 - id : black
1818 exclude : ^test/data
1919
2020 - repo : https://github.com/PyCQA/isort
21- rev : 5.13.2
21+ rev : 7.0.0
2222 hooks :
2323 - id : isort
2424 exclude : ^test/data
2525
2626 - repo : https://github.com/PyCQA/flake8
27- rev : 7.0 .0
27+ rev : 7.3 .0
2828 hooks :
2929 - id : flake8
3030 additional_dependencies :
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ class NoConfigFileError(NotVersioningitError):
4141 def __init__ (self , project_dir : Path ) -> None :
4242 #: The path to the project directory
4343 self .project_dir : Path = project_dir
44+ super ().__init__ (project_dir )
4445
4546 def __str__ (self ) -> str :
4647 return f"No pyproject.toml or versioningit.toml file in { self .project_dir } "
@@ -58,6 +59,7 @@ class NoConfigSectionError(NotVersioningitError):
5859 def __init__ (self , config_path : Path ) -> None :
5960 #: The path to the configuration file
6061 self .config_path : Path = config_path
62+ super ().__init__ (config_path )
6163
6264 def __str__ (self ) -> str :
6365 return f"versioningit not configured in { self .config_path } "
Original file line number Diff line number Diff line change 99
1010
1111def get_cmdclasses (
12- bases : Optional [dict [str , type [Command ]]] = None
12+ bases : Optional [dict [str , type [Command ]]] = None ,
1313) -> dict [str , type [Command ]]:
1414 """
1515 .. versionadded:: 1.1.0
You can’t perform that action at this time.
0 commit comments