Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-auth
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
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
Platform
Development
swh-auth
Commits
f1e7c221
Commit
f1e7c221
authored
11 months ago
by
David Douard
Browse files
Options
Downloads
Patches
Plain Diff
Apply swh-py-template v0.2.0
parent
80fdbbf5
No related branches found
No related tags found
1 merge request
!61
Apply swh-py-template v0.2.0
Pipeline
#8100
passed
10 months ago
Stage: external
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.copier-answers.yml
+1
-1
1 addition, 1 deletion
.copier-answers.yml
.pre-commit-config.yaml
+10
-1
10 additions, 1 deletion
.pre-commit-config.yaml
pytest.ini
+1
-1
1 addition, 1 deletion
pytest.ini
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
13 additions
and
4 deletions
.copier-answers.yml
+
1
−
1
View file @
f1e7c221
# 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 authentication utilities
distribution_name
:
swh-auth
...
...
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
+
10
−
1
View file @
f1e7c221
...
...
@@ -41,4 +41,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 @
f1e7c221
...
...
@@ -2,5 +2,5 @@
addopts
=
-p no:flask
norecursedirs
=
build docs .*
asyncio_mode
=
strict
DJANGO_SETTINGS_MODULE
=
swh.auth.tests.django.app.apptest.settings
consider_namespace_packages
=
true
DJANGO_SETTINGS_MODULE
=
swh.auth.tests.django.app.apptest.settings
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
f1e7c221
...
...
@@ -7,7 +7,7 @@ envlist =
py3
[testenv]
use
_
develop
=
true
usedevelop
=
true
extras
=
testing
django
...
...
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