Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-docs
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
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
Vincent Sellier
swh-docs
Commits
6ec97ec7
Commit
6ec97ec7
authored
11 months ago
by
David Douard
Browse files
Options
Downloads
Patches
Plain Diff
Apply swh-py-template v0.2.0
parent
1c0a615f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.copier-answers.yml
+1
-1
1 addition, 1 deletion
.copier-answers.yml
.pre-commit-config.yaml
+10
-0
10 additions, 0 deletions
.pre-commit-config.yaml
pytest.ini
+1
-1
1 addition, 1 deletion
pytest.ini
requirements-test.txt
+1
-1
1 addition, 1 deletion
requirements-test.txt
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
14 additions
and
4 deletions
.copier-answers.yml
+
1
−
1
View file @
6ec97ec7
# Changes here will be overwritten by Copier
_commit
:
v0.
1.6
_commit
:
v0.
2.0
_src_path
:
https://gitlab.softwareheritage.org/swh/devel/swh-py-template.git
description
:
Software Heritage Documentation
distribution_name
:
swh-docs
...
...
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
10
−
0
View file @
6ec97ec7
...
...
@@ -45,3 +45,13 @@ repos:
pass_filenames
:
false
language
:
system
types
:
[
python
]
-
id
:
twine-check
name
:
twine check
description
:
call twine check when pushing an annotated release tag
entry
:
bash -c "ref=$(git describe) &&
[[ $ref =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] &&
(python3 -m build --sdist && twine check $(ls -t dist/* | head -1)) ||
true
"
pass_filenames
:
false
stages
:
[
pre-push
]
language
:
python
additional_dependencies
:
[
twine
,
build
]
This diff is collapsed.
Click to expand it.
pytest.ini
+
1
−
1
View file @
6ec97ec7
[pytest]
norecursedirs
=
build docs .*
asyncio_mode
=
strict
addopts
=
"--import-mode=importlib"
consider_namespace_packages
=
true
This diff is collapsed.
Click to expand it.
requirements-test.txt
+
1
−
1
View file @
6ec97ec7
pytest
pytest
>= 8.1
types-tabulate
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
6ec97ec7
...
...
@@ -7,7 +7,7 @@ envlist =
py3
[testenv]
basepython
=
python3
usedevelop
=
true
passenv
=
SPHINXOPTS
SPHINXOPTCOLOR
...
...
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