We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc7bca5 commit 02d5992Copy full SHA for 02d5992
cachecontrol/caches/file_cache.py
@@ -64,7 +64,7 @@ class _FileCacheMixin:
64
65
def __init__(
66
self,
67
- directory: Union[str, Path],
+ directory: str | Path,
68
forever: bool = False,
69
filemode: int = 0o0600,
70
dirmode: int = 0o0700,
docs/conf.py
@@ -1,5 +1,3 @@
1
-# -*- coding: utf-8 -*-
2
-
3
# SPDX-FileCopyrightText: 2015 Eric Larson
4
#
5
# SPDX-License-Identifier: Apache-2.0
examples/benchmark.py
@@ -13,10 +13,10 @@
13
14
HOST = "localhost"
15
PORT = 8050
16
-URL = "http://{}:{}/".format(HOST, PORT)
+URL = f"http://{HOST}:{PORT}/"
17
18
19
-class Server(object):
+class Server:
20
21
def __call__(self, env, sr):
22
body = "Hello World!"
0 commit comments