Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tfields
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Daniel Boeckenhoff
tfields
Commits
b9148cf9
Commit
b9148cf9
authored
4 years ago
by
dboe
Browse files
Options
Downloads
Patches
Plain Diff
Update template
parent
45a4c127
No related branches found
No related tags found
No related merge requests found
Pipeline
#78844
passed
4 years ago
Stage: test
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.pre-commit-config.yaml
+30
-0
30 additions, 0 deletions
.pre-commit-config.yaml
.readthedocs.yml
+10
-0
10 additions, 0 deletions
.readthedocs.yml
Makefile
+0
-4
0 additions, 4 deletions
Makefile
docs/conf.py
+1
-2
1 addition, 2 deletions
docs/conf.py
setup.cfg
+4
-0
4 additions, 0 deletions
setup.cfg
with
45 additions
and
6 deletions
.pre-commit-config.yaml
0 → 100644
+
30
−
0
View file @
b9148cf9
repos
:
-
repo
:
https://github.com/ambv/black
rev
:
stable
hooks
:
-
id
:
black
language_version
:
python3.6
-
repo
:
https://gitlab.com/pycqa/flake8
rev
:
3.8.3
hooks
:
-
id
:
flake8
-
repo
:
https://gitlab.com/dboe/dough
rev
:
v0.1.10
hooks
:
-
id
:
readthedocs_requirements
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v3.1.0
hooks
:
-
id
:
check-json
-
id
:
pretty-format-json
args
:
[
'
--indent'
,
'
4'
]
-
id
:
check-merge-conflict
-
id
:
check-toml
-
id
:
check-yaml
-
id
:
debug-statements
-
id
:
detect-private-key
-
id
:
end-of-file-fixer
-
repo
:
https://github.com/asottile/blacken-docs
rev
:
v1.7.0
hooks
:
-
id
:
blacken-docs
This diff is collapsed.
Click to expand it.
.readthedocs.yml
+
10
−
0
View file @
b9148cf9
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Makefile
+
0
−
4
View file @
b9148cf9
...
...
@@ -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
:
;
This diff is collapsed.
Click to expand it.
docs/conf.py
+
1
−
2
View file @
b9148cf9
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
4
−
0
View file @
b9148cf9
...
...
@@ -51,6 +51,7 @@ exclude =
all
=
%(dev)s
dev
=
%(docs)s
%(test)s
bumpversion
# for incrementing the version
twine
# for publishing
...
...
@@ -58,6 +59,9 @@ dev =
pre-commit
# https://pre-commit.com/ for hook managment
pre-commit-hooks
cookiecutter_project_upgrader
docs
=
sphinx>=2.2.0
# requires templatedir option in sphinx-apidoc
sphinx_rtd_theme>=0.4.3
test
=
flake8
pytest
...
...
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