Pre-commit (#1467)

* pre-commit run trailing-whitespace -a

* pre-commit run end-of-file-fixer -a

* pre-commit run double-quote-string-fixer -a

* pre-commit run requirements-txt-fixer -a

* add pyupgrade hook

* remove pre-commit default_language_version 3.7 (since no upwards incompatible hooks)
This commit is contained in:
Janosh Riebesell
2022-01-16 20:23:27 +01:00
committed by GitHub
parent 7320136079
commit 7710711def
10 changed files with 22 additions and 20 deletions

View File

@@ -129,4 +129,3 @@ $pip install pyscard
$python -V
cd $whereibelong

View File

@@ -43,7 +43,7 @@ jobs:
jid: 4
goal: "build"
gamos: "windows"
pyarch: "x64"
pyarch: "x64"
platform: "x86_64"
- os: windows-2022
jid: 5
@@ -136,7 +136,7 @@ jobs:
Invoke-WebRequest -Uri $python_url -OutFile $python_file
Start-Process -wait -FilePath $python_file -ArgumentList "/quiet","InstallAllUsers=0","TargetDir=c:\\python","AssociateFiles=1","PrependPath=1"
shell: pwsh
- name: Install packages for test
if: matrix.goal == 'test'
run: |