-
Notifications
You must be signed in to change notification settings - Fork 126
Commit 0df8b7a
Drop Python 3.7 and update GitHub Actions to build with Python 3.12.0-rc.3
flake8's latest version for Python 3.7 failed to parse f-strings correctly when running on Python 3.12, giving:
--ignore=E501,E126,W503 email_validator tests
email_validator/syntax.py:30:24: E231 missing whitespace after ':'
email_validator/syntax.py:32:24: E231 missing whitespace after ':'
```
By dropping 3.7 we can update flake8 to work on all other versions.
See https://github.com/actions/python-versions/releases for the Python versions supported in GitHub Actions.1 parent 5abaa7b commit 0df8b7a
File tree
2 files changed
+14
-18
lines changed- .github/workflows
2 files changed
+14
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | - | ||
11 | + | ||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | - | ||
2 | + | ||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | - | ||
11 | - | ||
12 | - | ||
13 | - | ||
14 | - | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
15 | 14 | | |
16 | - | ||
17 | 15 | | |
18 | 16 | | |
19 | - | ||
17 | + | ||
20 | 18 | | |
21 | - | ||
22 | - | ||
23 | - | ||
24 | - | ||
25 | - | ||
26 | - | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
27 | 25 | | |
28 | - | ||
29 | - | ||
30 | - | ||
26 | + | ||
0 commit comments