File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : " v0.4.7 "
3
+ rev : " v0.4.8 "
4
4
hooks :
5
5
- id : ruff
6
6
args : ["--fix"]
44
44
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
45
45
additional_dependencies : ["tox>=4.9"]
46
46
- repo : https://github.com/asottile/pyupgrade
47
- rev : v3.15.2
47
+ rev : v3.16.0
48
48
hooks :
49
49
- id : pyupgrade
50
50
stages : [manual]
Original file line number Diff line number Diff line change @@ -221,9 +221,9 @@ def _ensure_cache_dir_and_supporting_files(self) -> None:
221
221
os .umask (umask )
222
222
path .chmod (0o777 - umask )
223
223
224
- with open (path .joinpath ("README.md" ), "xt " , encoding = "UTF-8" ) as f :
224
+ with open (path .joinpath ("README.md" ), "x " , encoding = "UTF-8" ) as f :
225
225
f .write (README_CONTENT )
226
- with open (path .joinpath (".gitignore" ), "xt " , encoding = "UTF-8" ) as f :
226
+ with open (path .joinpath (".gitignore" ), "x " , encoding = "UTF-8" ) as f :
227
227
f .write ("# Created by pytest automatically.\n *\n " )
228
228
with open (path .joinpath ("CACHEDIR.TAG" ), "xb" ) as f :
229
229
f .write (CACHEDIR_TAG_CONTENT )
You can’t perform that action at this time.
0 commit comments