mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Merge pull request #937 from pimutils/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
b3c9df1b1d
3 changed files with 2 additions and 11 deletions
|
|
@ -29,11 +29,6 @@ tasks:
|
|||
export PATH=$PATH:~/.local/bin/
|
||||
make -e ci-test
|
||||
make -e ci-test-storage
|
||||
- style: |
|
||||
cd vdirsyncer
|
||||
# Non-system python is used for packages:
|
||||
export PATH=$PATH:~/.local/bin/
|
||||
make -e style
|
||||
- check-secrets: |
|
||||
# Stop here if this is a PR. PRs can't run with the below secrets.
|
||||
[ -f ~/fastmail-secrets ] || complete-build
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ repos:
|
|||
- id: isort
|
||||
name: isort (python)
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.25.0
|
||||
rev: v2.26.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py37-plus]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import logging
|
||||
import sys
|
||||
|
||||
import aiohttp
|
||||
import click_log
|
||||
|
|
@ -103,10 +102,7 @@ def test_open_graphical_browser(monkeypatch):
|
|||
|
||||
# Just assert that this internal attribute still exists and behaves the way
|
||||
# expected
|
||||
if sys.version_info < (3, 7):
|
||||
iter(webbrowser._tryorder)
|
||||
else:
|
||||
assert webbrowser._tryorder is None
|
||||
assert webbrowser._tryorder is None
|
||||
|
||||
monkeypatch.setattr("webbrowser._tryorder", [])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue