File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- # -*- coding: utf-8 -*-
2+
33"""
44Configuration for Sphinx.
55"""
1414
1515import pkg_resources
1616
17- import vws
18-
19- sys .path .insert (0 , os .path .abspath ('.' ))
20-
21- key_package = vws
22-
2317extensions = [
2418 'sphinx.ext.autodoc' ,
2519 'sphinx.ext.intersphinx' ,
5549# The version info for the project you're documenting, acts as replacement for
5650# |version| and |release|, also used in various other places throughout the
5751# built documents.
58- version = vws . __version__
52+ version = distribution . version
5953release = version .split ('+' )[0 ]
6054
6155substitutions = [
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ fix-yapf:
2222
2323.PHONY : mypy
2424mypy :
25- mypy * .py src/ tests/
25+ mypy * .py src/ tests/ docs/source/
2626
2727.PHONY : check-manifest
2828check-manifest :
@@ -50,7 +50,7 @@ pip-missing-reqs:
5050
5151.PHONY : pylint
5252pylint :
53- pylint * .py src/ tests/ admin/
53+ pylint * .py src/ tests/ admin/ docs/
5454
5555.PHONY : pyroma
5656pyroma :
You can’t perform that action at this time.
0 commit comments