@@ -79,7 +79,7 @@ def default(session):
79
79
"--cov-append" ,
80
80
"--cov-config=.coveragerc" ,
81
81
"--cov-report=" ,
82
- "--cov-fail-under=25 " ,
82
+ "--cov-fail-under=20 " ,
83
83
os .path .join ("tests" , "unit" ),
84
84
* session .posargs
85
85
)
@@ -127,45 +127,6 @@ def docs(session):
127
127
)
128
128
129
129
130
- @nox .session (python = DEFAULT_PYTHON_VERSION )
131
- def docfx (session ):
132
- """Build the docfx yaml files for this library."""
133
-
134
- session .install ("-e" , "." )
135
- session .install (
136
- "sphinx" ,
137
- "alabaster" ,
138
- "recommonmark" ,
139
- "sphinx-docfx-yaml" ,
140
- "django==2.2" ,
141
- )
142
-
143
- shutil .rmtree (os .path .join ("docs" , "_build" ), ignore_errors = True )
144
- session .run (
145
- "sphinx-build" ,
146
- "-T" , # show full traceback on exception
147
- "-N" , # no colors
148
- "-D" ,
149
- (
150
- "extensions=sphinx.ext.autodoc,"
151
- "sphinx.ext.autosummary,"
152
- "docfx_yaml.extension,"
153
- "sphinx.ext.intersphinx,"
154
- "sphinx.ext.coverage,"
155
- "sphinx.ext.napoleon,"
156
- "sphinx.ext.todo,"
157
- "sphinx.ext.viewcode,"
158
- "recommonmark"
159
- ),
160
- "-b" ,
161
- "html" ,
162
- "-d" ,
163
- os .path .join ("docs" , "_build" , "doctrees" , "" ),
164
- os .path .join ("docs" , "" ),
165
- os .path .join ("docs" , "_build" , "html" , "" ),
166
- )
167
-
168
-
169
130
@nox .session (python = DEFAULT_PYTHON_VERSION )
170
131
def docfx (session ):
171
132
"""Build the docfx yaml files for this library."""
0 commit comments