Skip to content

Commit b3c9df1

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request pimutils#937 from pimutils/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents fbd5ff8 + 87574be commit b3c9df1

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.builds/tests-release.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ tasks:
2929
export PATH=$PATH:~/.local/bin/
3030
make -e ci-test
3131
make -e ci-test-storage
32-
- style: |
33-
cd vdirsyncer
34-
# Non-system python is used for packages:
35-
export PATH=$PATH:~/.local/bin/
36-
make -e style
3732
- check-secrets: |
3833
# Stop here if this is a PR. PRs can't run with the below secrets.
3934
[ -f ~/fastmail-secrets ] || complete-build

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: isort
2424
name: isort (python)
2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v2.25.0
26+
rev: v2.26.0
2727
hooks:
2828
- id: pyupgrade
2929
args: [--py37-plus]

tests/system/utils/test_main.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
import sys
32

43
import aiohttp
54
import click_log
@@ -103,10 +102,7 @@ def test_open_graphical_browser(monkeypatch):
103102

104103
# Just assert that this internal attribute still exists and behaves the way
105104
# expected
106-
if sys.version_info < (3, 7):
107-
iter(webbrowser._tryorder)
108-
else:
109-
assert webbrowser._tryorder is None
105+
assert webbrowser._tryorder is None
110106

111107
monkeypatch.setattr("webbrowser._tryorder", [])
112108

0 commit comments

Comments
 (0)