mirror of
https://github.com/muziing/Py2exe-GUI.git
synced 2025-01-13 16:42:54 +08:00
Upgrade dependency versions
This commit is contained in:
parent
6a5f3c8370
commit
c5e908b78b
@ -10,7 +10,7 @@ repos:
|
||||
- id: end-of-file-fixer
|
||||
|
||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||
rev: 24.4.2
|
||||
rev: 24.8.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ["--config", "pyproject.toml"]
|
||||
@ -22,6 +22,6 @@ repos:
|
||||
args: [--settings-path, "./pyproject.toml"]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.5.5
|
||||
rev: v0.6.2
|
||||
hooks:
|
||||
- id: ruff
|
||||
|
913
poetry.lock
generated
913
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -45,7 +45,7 @@ optional = true
|
||||
pre-commit = "^3.5.0"
|
||||
black = "^24.4.0"
|
||||
isort = "^5.13.0"
|
||||
ruff = "^0.5.0"
|
||||
ruff = ">=0.5.0, <1.0.0"
|
||||
mypy = "^1.10.0"
|
||||
pyinstaller = "^6.7.0"
|
||||
types-pyyaml = "^6.0.12.12"
|
||||
|
@ -36,10 +36,7 @@ class FilePathValidator:
|
||||
|
||||
path = Path(script_path)
|
||||
|
||||
if not (path.exists() and path.is_file() and os.access(script_path, os.R_OK)):
|
||||
return False
|
||||
|
||||
return True
|
||||
return path.exists() and path.is_file() and os.access(script_path, os.R_OK)
|
||||
|
||||
@classmethod
|
||||
def validate_icon(cls, icon_path: Union[str, Path]) -> bool:
|
||||
|
Loading…
x
Reference in New Issue
Block a user