Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
Daniel Boeckenhoff
tfields
Commits
1756da73
Commit
1756da73
authored
Jul 18, 2020
by
dboe
Browse files
merged
parents
1fe12c20
b9148cf9
Pipeline
#78845
failed with stages
in 2 minutes and 16 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.pre-commit-config.yaml
View file @
1756da73
...
...
@@ -9,7 +9,7 @@ repos:
hooks
:
-
id
:
flake8
-
repo
:
https://gitlab.com/dboe/dough
rev
:
v0.1.
3
rev
:
v0.1.
10
hooks
:
-
id
:
readthedocs_requirements
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
...
...
@@ -17,6 +17,7 @@ repos:
hooks
:
-
id
:
check-json
-
id
:
pretty-format-json
args
:
[
'
--indent'
,
'
4'
]
-
id
:
check-merge-conflict
-
id
:
check-toml
-
id
:
check-yaml
...
...
.readthedocs.yml
View file @
1756da73
...
...
@@ -5,6 +5,12 @@
# Required
version
:
2
formats
:
all
build
:
image
:
latest
# Build documentation in the docs/ directory with Sphinx
sphinx
:
configuration
:
docs/conf.py
...
...
@@ -14,3 +20,7 @@ python:
version
:
3.7
install
:
-
requirements
:
docs/requirements.txt
-
method
:
pip
path
:
.
extra_requirements
:
-
docs
Makefile
View file @
1756da73
...
...
@@ -73,11 +73,7 @@ update:
echo
"Your status is not clean! I can not update!"
;
\
exit
1
;
\
fi
# Uninstall pre-commit
pre-commit uninstall
# Starting upgrade
cookiecutter_project_upgrader
# Install pre-commit again
pre-commit
install
FORCE
:
;
docs/conf.py
View file @
1756da73
...
...
@@ -30,8 +30,7 @@ source_dir = config["build_sphinx"]["source-dir"]
# -- General configuration ---------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
needs_sphinx
=
"2.2.0"
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
...
...
setup.cfg
View file @
1756da73
...
...
@@ -54,25 +54,29 @@ exclude =
performance*
[options.extras_require]
all =
%(dev)s
dev =
%(test)s
all =
%(dev)s
dev =
%(docs)s
%(test)s
bumpversion # for incrementing the version
twine # for publishing
sphinx # for documentation
pre-commit # https://pre-commit.com/ for hook managment
pre-commit-hooks
cookiecutter_project_upgrader
test =
flake8
pytest
pytest-cov
coverage
pytest-shutil
pytest-virtualenv
pytest-fixture-config
pytest-xdist
cookiecutter_project_upgrader
docs =
sphinx>=2.2.0 # requires templatedir option in sphinx-apidoc
sphinx_rtd_theme>=0.4.3
test =
flake8
pytest
pytest-cov
coverage
pytest-shutil
pytest-virtualenv
pytest-fixture-config
pytest-xdist
matplotlib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment