File tree 11 files changed +152
-135
lines changed
11 files changed +152
-135
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,18 @@ exclude =
19
19
runtime/src/prettypb/protobuf/*.py
20
20
21
21
ignore =
22
- F811 # redefinition of unused '...' from line ...
23
- W503 # line break before binary operator
24
- E203 # whitespace before ':'
25
- E231 # missing whitespace after ','
26
- E501 # line too long
27
- E731 # do not assign a lambda expression, use a def
22
+ # F811: redefinition of unused '...' from line ...
23
+ F811
24
+ # W503: line break before binary operator
25
+ W503
26
+ # E203: whitespace before ':'
27
+ E203
28
+ # E231: missing whitespace after ','
29
+ E231
30
+ # E501:line too long
31
+ E501
32
+ # E731: do not assign a lambda expression, use a def
33
+ E731
28
34
29
35
builtins = reveal_type
30
36
Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: David Fritzsche
2
+ # SPDX-License-Identifier: CC0-1.0
1
3
#
2
- # This file is autogenerated by lock_requirements .sh
4
+ # This file is autogenerated by lock-requirements .sh
3
5
# To update, run:
4
6
#
5
- # sh lock_requirements .sh
7
+ # ./lock-requirements .sh
6
8
#
7
- attrs==22.1 .0
9
+ attrs==22.2 .0
8
10
binaryornot==0.4.4
9
- black==22.8 .0
11
+ black==23.1 .0
10
12
boolean-py==4.0
11
- build==0.8 .0
13
+ build==0.10 .0
12
14
bump2version==1.0.1
13
- certifi==2022.9.14
14
- chardet==5.0 .0
15
- charset-normalizer==2.1 .1
15
+ certifi==2022.12.7
16
+ chardet==5.1 .0
17
+ charset-normalizer==3.0 .1
16
18
click==8.1.3
17
- coverage==6.4.4
19
+ coverage==7.2.0
18
20
dflit==2.3.0.1
19
21
dflit-core==2.3.0.1
20
22
distlib==0.3.6
21
23
docutils==0.19
22
- filelock==3.8.0
23
- flake8==5.0.4
24
- flake8-bugbear==22.9.11
25
- flake8-comprehensions==3.10.0
26
- flake8-html==0.4.2
27
- flake8-logging-format==0.7.5
24
+ exceptiongroup==1.1.0
25
+ filelock==3.9.0
26
+ flake8==6.0.0
27
+ flake8-bugbear==23.2.13
28
+ flake8-comprehensions==3.10.1
29
+ flake8-html==0.4.3
30
+ flake8-logging-format==0.9.0
28
31
flake8-mutable==1.2.0
29
- flake8-pyi==22.8 .2
32
+ flake8-pyi==23.1 .2
30
33
fsfe-reuse==1.0.0
31
34
idna==3.4
32
- iniconfig==1.1.1
33
- invoke==1.7.1
34
- isort==5.10.1
35
+ iniconfig==2.0.0
36
+ invoke==2.0.0
37
+ isort==5.12.0
35
38
jinja2==3.1.2
36
- license-expression==30.0 .0
37
- markupsafe==2.1.1
39
+ license-expression==30.1 .0
40
+ markupsafe==2.1.2
38
41
mccabe==0.7.0
39
- mypy==0.971
40
- mypy-extensions==0.4.3
41
- packaging==21.3
42
- pathspec==0.10.1
43
- pep517==0.13.0
44
- pip-tools==6.8.0
45
- platformdirs==2.5.2
42
+ mypy==1.0.1
43
+ mypy-extensions==1.0.0
44
+ packaging==23.0
45
+ pathspec==0.11.0
46
+ pip==23.0.1
47
+ pip-tools==6.12.2
48
+ platformdirs==3.0.0
46
49
pluggy==1.0.0
47
50
py==1.11.0
48
- pycodestyle==2.9.1
49
- pyflakes==2.5.0
50
- pygments==2.13 .0
51
- pyparsing==3 .0.9
52
- pytest==7.1.3
53
- pytest-cov==3 .0.0
54
- pytest-html==3.1.1
55
- pytest-metadata==2.0.2
56
- python-debian==0.1.47
51
+ pycodestyle==2.10.0
52
+ pyflakes==3.0.1
53
+ pygments==2.14 .0
54
+ pyproject-hooks==1 .0.0
55
+ pytest==7.2.1
56
+ pytest-cov==4 .0.0
57
+ pytest-html==3.2.0
58
+ pytest-metadata==2.0.4
59
+ python-debian==0.1.49
57
60
pytoml==0.1.21
58
- requests==2.28.1
59
- reuse==1.0.0
61
+ requests==2.28.2
62
+ reuse==1.1.2
63
+ setuptools==67.4.0
60
64
six==1.16.0
61
65
tomli==2.0.1
62
- tox==3.26 .0
66
+ tox==3.28 .0
63
67
tox-pyenv==1.1.0
64
- typing-extensions==4.3.0
65
- urllib3==1.26.12
66
- virtualenv==20.16.5
67
- wheel==0.37.1
68
- pip==22.2.2
69
- setuptools==65.3.0
68
+ types-invoke==2.0.0.3
69
+ typing-extensions==4.5.0
70
+ urllib3==1.26.14
71
+ virtualenv==20.19.0
72
+ wheel==0.38.4
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # SPDX-FileCopyrightText: David Fritzsche
4
+ # SPDX-License-Identifier: CC0-1.0
5
+
6
+ export CUSTOM_COMPILE_COMMAND=" ./lock-requirements.sh"
7
+
8
+ PYTHONWARNINGS=ignore pip-compile --unsafe-package=' ' --no-emit-index-url --resolver=backtracking " $@ "
9
+ cat > constraints.txt << EOF
10
+ # SPDX-FileCopyrightText: David Fritzsche
11
+ # SPDX-License-Identifier: CC0-1.0
12
+ #
13
+ # This file is autogenerated by lock-requirements.sh
14
+ # To update, run:
15
+ #
16
+ # ./lock-requirements.sh
17
+ #
18
+ EOF
19
+ sed -E -e ' s/(\[.*\])//g' -e ' /^ *#/d' -e ' /^$/d' requirements.txt >> constraints.txt
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -47,3 +47,7 @@ warn_return_any = True
47
47
# Strict Optional checks.
48
48
# If False, mypy treats None as compatible with every type. (default True)
49
49
strict_optional = True
50
+
51
+
52
+ [mypy-py.*]
53
+ ignore_missing_imports = True
Original file line number Diff line number Diff line change 1
1
# SPDX-FileCopyrightText: David Fritzsche
2
2
# SPDX-License-Identifier: CC0-1.0
3
- black<23
3
+ black>=23,<24
4
4
bump2version
5
5
coverage[toml]
6
6
dflit
@@ -13,12 +13,13 @@ flake8-pyi
13
13
fsfe-reuse
14
14
invoke
15
15
isort
16
- mypy==0.971
16
+ mypy~=1.0
17
17
pip-tools
18
- pip>=19 .3
18
+ pip>=20 .3
19
19
pytest-cov
20
20
pytest-html
21
- pytest~=7.1.2
21
+ pytest~=7.2.1
22
22
setuptools>=43
23
+ tox < 4
23
24
tox-pyenv
24
- tox>=3.14.3
25
+ types-invoke
You can’t perform that action at this time.
0 commit comments