1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
diff --git a/src/ceph-volume/plugin/zfs/tox.ini b/src/ceph-volume/plugin/zfs/tox.ini
index 80e35439f8d..71c39e394a5 100644
--- a/src/ceph-volume/plugin/zfs/tox.ini
+++ b/src/ceph-volume/plugin/zfs/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27, py34, py35, py36, flake8
+envlist = py27, py34, py35, py36
[travis]
python =
diff --git a/src/ceph-volume/tox.ini b/src/ceph-volume/tox.ini
index f7d294a9aad..2b684fab8ea 100644
--- a/src/ceph-volume/tox.ini
+++ b/src/ceph-volume/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py3, py3-flake8
+envlist = py3
skip_missing_interpreters = true
[testenv]
diff --git a/src/pybind/mgr/CMakeLists.txt b/src/pybind/mgr/CMakeLists.txt
index e8c06c9e2e9..bf7f9218b9c 100644
--- a/src/pybind/mgr/CMakeLists.txt
+++ b/src/pybind/mgr/CMakeLists.txt
@@ -13,7 +13,7 @@ if(WITH_MGR_ROOK_CLIENT)
endif()
if(WITH_TESTS)
include(AddCephTest)
- add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR} TOX_ENVS py3 py37 mypy flake8 jinjalint nooptional)
+ add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR} TOX_ENVS py3 py37 jinjalint nooptional)
endif()
# Location needs to match default setting for mgr_module_path, currently:
diff --git a/src/pybind/mgr/dashboard/CMakeLists.txt b/src/pybind/mgr/dashboard/CMakeLists.txt
index 741c1cffd1d..a69c07f6b1a 100644
--- a/src/pybind/mgr/dashboard/CMakeLists.txt
+++ b/src/pybind/mgr/dashboard/CMakeLists.txt
@@ -10,8 +10,6 @@ if(WITH_MGR_DASHBOARD_FRONTEND)
if(WITH_TESTS)
include(AddCephTest)
add_tox_test(mgr-dashboard-py3 TOX_ENVS py3)
- add_tox_test(mgr-dashboard-lint TOX_ENVS lint)
- add_tox_test(mgr-dashboard-check TOX_ENVS check)
add_tox_test(mgr-dashboard-openapi TOX_ENVS openapi-check)
endif()
else()
diff --git a/src/pybind/mgr/dashboard/tox.ini b/src/pybind/mgr/dashboard/tox.ini
index fdb2dd75809..5a3d21e59d9 100644
--- a/src/pybind/mgr/dashboard/tox.ini
+++ b/src/pybind/mgr/dashboard/tox.ini
@@ -1,9 +1,7 @@
[tox]
envlist =
py3,
- lint,
fix,
- check,
run,
openapi-{check, fix, doc}
skipsdist = true
diff --git a/src/pybind/mgr/telemetry/tox.ini b/src/pybind/mgr/telemetry/tox.ini
index a887590eed8..b2210da54ea 100644
--- a/src/pybind/mgr/telemetry/tox.ini
+++ b/src/pybind/mgr/telemetry/tox.ini
@@ -1,7 +1,6 @@
[tox]
envlist =
py3
- mypy
skipsdist = true
[testenv]
diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini
index 082d0dbd53c..14ef440b48d 100644
--- a/src/pybind/mgr/tox.ini
+++ b/src/pybind/mgr/tox.ini
@@ -1,9 +1,7 @@
[tox]
envlist =
py3
- mypy
fix
- flake8
jinjalint
nooptional
skipsdist = true
diff --git a/src/pybind/tox.ini b/src/pybind/tox.ini
index f5b778f65b2..f9500dff68b 100644
--- a/src/pybind/tox.ini
+++ b/src/pybind/tox.ini
@@ -1,7 +1,6 @@
[tox]
minversion = 3.6
envlist =
- mypy
skipsdist = true
[testenv]
diff --git a/src/python-common/CMakeLists.txt b/src/python-common/CMakeLists.txt
index e89bbe2feef..a4d31e73fef 100644
--- a/src/python-common/CMakeLists.txt
+++ b/src/python-common/CMakeLists.txt
@@ -3,5 +3,5 @@ distutils_install_module(ceph)
if(WITH_TESTS)
include(AddCephTest)
- add_tox_test(python-common TOX_ENVS py3 lint)
+ add_tox_test(python-common TOX_ENVS py3)
endif()
diff --git a/src/python-common/tox.ini b/src/python-common/tox.ini
index 313a4334d51..db5ed9ad230 100644
--- a/src/python-common/tox.ini
+++ b/src/python-common/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py3, mypy, lint
+envlist = py3
skip_missing_interpreters = true
[testenv:py3]
diff --git a/src/test/behave_tests/tox.ini b/src/test/behave_tests/tox.ini
index 24e4e3c3738..521c2145499 100644
--- a/src/test/behave_tests/tox.ini
+++ b/src/test/behave_tests/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py39, flake8
+envlist = py39
skipsdist = true
[base]
@@ -19,4 +19,4 @@ commands = behave
[testenv:flake8]
deps =
flake8==3.9.2
-commands = flake8 --statistics {posargs} features/
\ No newline at end of file
+commands = flake8 --statistics {posargs} features/
diff --git a/src/tools/cephfs/shell/tox.ini b/src/tools/cephfs/shell/tox.ini
index c1cbff05136..f09d3b821db 100644
--- a/src/tools/cephfs/shell/tox.ini
+++ b/src/tools/cephfs/shell/tox.ini
@@ -1,7 +1,4 @@
[tox]
-envlist = py3
+envlist =
skipsdist = true
-[testenv:py3]
-deps = flake8
-commands = flake8 --ignore=W503 --max-line-length=100 cephfs-shell
diff --git a/src/tools/cephfs/top/tox.ini b/src/tools/cephfs/top/tox.ini
index b125c0bc8ea..38459fd3470 100644
--- a/src/tools/cephfs/top/tox.ini
+++ b/src/tools/cephfs/top/tox.ini
@@ -2,6 +2,3 @@
envlist = py3
skipsdist = true
-[testenv:py3]
-deps = flake8
-commands = flake8 --ignore=W503 --max-line-length=100 cephfs-top
|