Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compendium-v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
compendium-v2
Commits
6cfc24d6
Commit
6cfc24d6
authored
2 years ago
by
Ian Galpin
Browse files
Options
Downloads
Patches
Plain Diff
Added docs and test modules to isort
parent
3fc502ff
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/source/conf.py
+5
-4
5 additions, 4 deletions
docs/source/conf.py
test/test_routes.py
+2
-1
2 additions, 1 deletion
test/test_routes.py
test/test_service_matrix.py
+2
-0
2 additions, 0 deletions
test/test_service_matrix.py
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
10 additions
and
6 deletions
docs/source/conf.py
+
5
−
4
View file @
6cfc24d6
...
@@ -14,14 +14,15 @@
...
@@ -14,14 +14,15 @@
# import sys
# import sys
# sys.path.insert(0, os.path.abspath('.'))
# sys.path.insert(0, os.path.abspath('.'))
import
json
import
os
import
sys
from
importlib
import
import_module
from
importlib
import
import_module
from
typing
import
List
from
docutils.parsers.rst
import
Directive
from
docutils
import
nodes
from
docutils
import
nodes
from
docutils.parsers.rst
import
Directive
from
sphinx
import
addnodes
from
sphinx
import
addnodes
import
json
import
os
import
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
join
(
...
...
This diff is collapsed.
Click to expand it.
test/test_routes.py
+
2
−
1
View file @
6cfc24d6
import
json
import
json
import
jsonschema
import
jsonschema
import
pytest
import
pytest
from
compendium_v2.routes.default
import
VERSION_SCHEMA
from
compendium_v2.routes.api
import
THING_LIST_SCHEMA
from
compendium_v2.routes.api
import
THING_LIST_SCHEMA
from
compendium_v2.routes.default
import
VERSION_SCHEMA
@pytest.mark.parametrize
(
@pytest.mark.parametrize
(
...
...
This diff is collapsed.
Click to expand it.
test/test_service_matrix.py
+
2
−
0
View file @
6cfc24d6
import
json
import
json
import
jsonschema
import
jsonschema
import
pytest
import
pytest
from
compendium_v2.routes.service_matrix
import
SERVICE_MATRIX_SCHEMA
from
compendium_v2.routes.service_matrix
import
SERVICE_MATRIX_SCHEMA
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
6cfc24d6
...
@@ -17,7 +17,7 @@ commands =
...
@@ -17,7 +17,7 @@ commands =
coverage
html
coverage
html
coverage
report
--fail-under
85
coverage
report
--fail-under
85
flake8
flake8
isort
-c
--df
compendium_v2
isort
-c
--df
compendium_v2
docs/source
test
# Disable mypy in tox until build server supports python 3.9
# Disable mypy in tox until build server supports python 3.9
# mypy .
# mypy .
sphinx-build
-M
html
docs/source
docs/build
sphinx-build
-M
html
docs/source
docs/build
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment