mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-12 15:27:14 +03:00
[Minor] Update Winsparkle Ver, Remove UwU
Also clarifies an import for importlib and fixes a pre-commit hook
This commit is contained in:
parent
f961c605d9
commit
84538c88e9
4
.github/workflows/windows-build.yml
vendored
4
.github/workflows/windows-build.yml
vendored
@ -113,9 +113,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Download winsparkle
|
- name: Download winsparkle
|
||||||
run: |
|
run: |
|
||||||
Invoke-Webrequest -UseBasicParsing https://github.com/vslavik/winsparkle/releases/download/v0.8.1/WinSparkle-0.8.1.zip -OutFile out.zip
|
Invoke-Webrequest -UseBasicParsing https://github.com/vslavik/winsparkle/releases/download/v0.8.3/WinSparkle-0.8.3.zip -OutFile out.zip
|
||||||
Expand-Archive out.zip
|
Expand-Archive out.zip
|
||||||
Move-Item 'out\WinSparkle-0.8.1\Release\*' '.\'
|
Move-Item 'out\WinSparkle-0.8.3\Release\*' '.\'
|
||||||
|
|
||||||
- name: Build EDMC
|
- name: Build EDMC
|
||||||
run: |
|
run: |
|
||||||
|
@ -20,20 +20,10 @@ repos:
|
|||||||
# hooks:
|
# hooks:
|
||||||
# - id: autopep8
|
# - id: autopep8
|
||||||
|
|
||||||
### # flake8 --show-source <file>
|
- repo: https://github.com/PyCQA/flake8
|
||||||
### - repo: https://github.com/PyCQA/flake8
|
rev: 7.1.2
|
||||||
### rev: ''
|
hooks:
|
||||||
### hooks:
|
- id: flake8
|
||||||
### - id: flake8
|
|
||||||
#
|
|
||||||
# Try using local flake8
|
|
||||||
- repo: local
|
|
||||||
hooks:
|
|
||||||
- id: flake8
|
|
||||||
name: flake8
|
|
||||||
entry: flake8
|
|
||||||
language: system
|
|
||||||
types: [ python ]
|
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||||
rev: 'v1.10.0'
|
rev: 'v1.10.0'
|
||||||
@ -51,7 +41,7 @@ repos:
|
|||||||
- id: mypy
|
- id: mypy
|
||||||
# verbose: true
|
# verbose: true
|
||||||
# log_file: 'pre-commit_mypy.log'
|
# log_file: 'pre-commit_mypy.log'
|
||||||
additional_dependencies: [ types-setuptools, types-requests, types-urllib3 ]
|
additional_dependencies: [ types-setuptools, types-requests ]
|
||||||
# args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
|
# args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ]
|
||||||
|
|
||||||
### # pydocstyle.exe <file>
|
### # pydocstyle.exe <file>
|
||||||
|
@ -2196,11 +2196,7 @@ sys.path: {sys.path}'''
|
|||||||
# Plain, not via `logger`
|
# Plain, not via `logger`
|
||||||
print(f'{applongname} {appversion()}')
|
print(f'{applongname} {appversion()}')
|
||||||
|
|
||||||
fools_lang = config.get_str('language') # Happy April 1st, 2025!
|
tr.install(config.get_str('language')) # Can generate errors so wait til log set up
|
||||||
if not config.get('2025_apr1_fooled'):
|
|
||||||
fools_lang = "uwu"
|
|
||||||
config.set('2025_apr1_fooled', True)
|
|
||||||
tr.install(fools_lang) # Can generate errors so wait til log set up
|
|
||||||
|
|
||||||
setup_killswitches(args.killswitches_file)
|
setup_killswitches(args.killswitches_file)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user