39
39
@invoke .task ()
40
40
def pytest (_ ):
41
41
"""Run tests and code coverage using pytest"""
42
- pass
43
42
44
43
45
44
namespace .add_task (pytest )
@@ -48,7 +47,6 @@ def pytest(_):
48
47
@invoke .task (pre = [ext_test_tasks .pytest_clean ])
49
48
def pytest_clean (_ ):
50
49
"""Remove pytest cache and code coverage files and directories"""
51
- pass
52
50
53
51
54
52
namespace_clean .add_task (pytest_clean , 'pytest' )
@@ -57,7 +55,6 @@ def pytest_clean(_):
57
55
@invoke .task (pre = [ext_test_tasks .mypy ])
58
56
def mypy (_ ):
59
57
"""Run mypy optional static type checker"""
60
- pass
61
58
62
59
63
60
namespace .add_task (mypy )
@@ -67,7 +64,6 @@ def mypy(_):
67
64
def mypy_clean (_ ):
68
65
"""Remove mypy cache directory"""
69
66
# pylint: disable=unused-argument
70
- pass
71
67
72
68
73
69
namespace_clean .add_task (mypy_clean , 'mypy' )
@@ -85,7 +81,6 @@ def mypy_clean(_):
85
81
@invoke .task (pre = [ext_test_tasks .build_clean ])
86
82
def build_clean (_ ):
87
83
"""Remove the build directory"""
88
- pass
89
84
90
85
91
86
namespace_clean .add_task (build_clean , 'build' )
@@ -94,7 +89,6 @@ def build_clean(_):
94
89
@invoke .task (pre = [ext_test_tasks .dist_clean ])
95
90
def dist_clean (_ ):
96
91
"""Remove the dist directory"""
97
- pass
98
92
99
93
100
94
namespace_clean .add_task (dist_clean , 'dist' )
@@ -108,7 +102,6 @@ def dist_clean(_):
108
102
def clean_all (_ ):
109
103
"""Run all clean tasks"""
110
104
# pylint: disable=unused-argument
111
- pass
112
105
113
106
114
107
namespace_clean .add_task (clean_all , 'all' )
@@ -117,7 +110,6 @@ def clean_all(_):
117
110
@invoke .task (pre = [clean_all ], post = [ext_test_tasks .sdist ])
118
111
def sdist (_ ):
119
112
"""Create a source distribution"""
120
- pass
121
113
122
114
123
115
namespace .add_task (sdist )
@@ -126,7 +118,6 @@ def sdist(_):
126
118
@invoke .task (pre = [clean_all ], post = [ext_test_tasks .wheel ])
127
119
def wheel (_ ):
128
120
"""Build a wheel distribution"""
129
- pass
130
121
131
122
132
123
namespace .add_task (wheel )
0 commit comments