mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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/
|
export PATH=$PATH:~/.local/bin/
|
||||||
make -e ci-test
|
make -e ci-test
|
||||||
make -e ci-test-storage
|
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: |
|
- check-secrets: |
|
||||||
# Stop here if this is a PR. PRs can't run with the below secrets.
|
# Stop here if this is a PR. PRs can't run with the below secrets.
|
||||||
[ -f ~/fastmail-secrets ] || complete-build
|
[ -f ~/fastmail-secrets ] || complete-build
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ repos:
|
||||||
- id: isort
|
- id: isort
|
||||||
name: isort (python)
|
name: isort (python)
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.25.0
|
rev: v2.26.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py37-plus]
|
args: [--py37-plus]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import logging
|
import logging
|
||||||
import sys
|
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
import click_log
|
import click_log
|
||||||
|
|
@ -103,9 +102,6 @@ def test_open_graphical_browser(monkeypatch):
|
||||||
|
|
||||||
# Just assert that this internal attribute still exists and behaves the way
|
# Just assert that this internal attribute still exists and behaves the way
|
||||||
# expected
|
# 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", [])
|
monkeypatch.setattr("webbrowser._tryorder", [])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue