File tree 6 files changed +10
-35
lines changed
6 files changed +10
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ concurrency:
9
9
${{ github.event.pull_request.number || github.sha }}
10
10
cancel-in-progress : true
11
11
12
+ permissions :
13
+ contents : read
14
+
12
15
env :
13
16
# Environment variables to support color support (jaraco/skeleton#66):
14
17
# Request colored output from CLI tools supporting it. Different tools
@@ -228,6 +231,8 @@ jobs:
228
231
run : tox -e integration
229
232
230
233
release :
234
+ permissions :
235
+ contents : write
231
236
needs :
232
237
- check
233
238
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 1
- Copyright Jason R. Coombs
2
-
3
1
Permission is hereby granted, free of charge, to any person obtaining a copy
4
2
of this software and associated documentation files (the "Software"), to
5
3
deal in the Software without restriction, including without limitation the
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ skip-string-normalization = true
14
14
[tool .pytest-enabler .mypy ]
15
15
# addopts = "--mypy"
16
16
17
- [tool .pytest-enabler .flake8 ]
18
- addopts = " --flake8"
19
-
20
17
[tool .pytest-enabler .cov ]
21
18
addopts = " --cov"
22
19
20
+ [tool .pytest-enabler .ruff ]
21
+ addopts = " --ruff"
22
+
23
23
[tool .pytest-enabler .xdist ]
24
24
addopts = " -n auto"
25
25
Original file line number Diff line number Diff line change @@ -14,19 +14,11 @@ filterwarnings=
14
14
# Ensure ResourceWarnings are emitted
15
15
default::ResourceWarning
16
16
17
- # Suppress deprecation warning in flake8
18
- ignore:SelectableGroups dict interface is deprecated::flake8
19
-
20
17
# shopkeep/pytest-black#55
21
18
ignore:<class ' pytest_black.BlackItem' > is not using a cooperative constructor:pytest.PytestDeprecationWarning
22
19
ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning
23
20
ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning
24
21
25
- # tholo/pytest-flake8#83
26
- ignore:<class ' pytest_flake8.Flake8Item' > is not using a cooperative constructor:pytest.PytestDeprecationWarning
27
- ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning
28
- ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning
29
-
30
22
# shopkeep/pytest-black#67
31
23
ignore:' encoding' argument not specified::pytest_black
32
24
Original file line number Diff line number Diff line change @@ -43,11 +43,6 @@ testing =
43
43
# upstream
44
44
pytest >= 6
45
45
pytest-checkdocs >= 2.4
46
- pytest-flake8; \
47
- # workaround for tholo/pytest-flake8#87
48
- python_version < " 3.12"
49
- # workaround for tholo/pytest-flake8#87
50
- flake8 < 5
51
46
pytest-black >= 0.3.7; \
52
47
# workaround for jaraco/skeleton#22
53
48
python_implementation != " PyPy"
@@ -58,7 +53,7 @@ testing =
58
53
# workaround for jaraco/skeleton#22
59
54
python_implementation != " PyPy"
60
55
pytest-enabler >= 1.3
61
- pytest-perf
56
+ pytest-ruff
62
57
63
58
# local
64
59
flake8-2020
@@ -74,6 +69,7 @@ testing =
74
69
ini2toml[lite]>=0.9
75
70
tomli-w>=1.0.0
76
71
pytest-timeout
72
+ pytest-perf
77
73
78
74
testing-integration =
79
75
pytest
You can’t perform that action at this time.
0 commit comments