Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 40c6e1e8 authored by Dorian Turba's avatar Dorian Turba
Browse files

update CONTRIBUTING.md

parent 5fd989dd
No related branches found
No related tags found
No related merge requests found
Pipeline #24067 passed
[//]: # (For a guide to create CONTRIBUTING.md, see http://mozillascience.github.io/working-open-workshop/contributing/)
# Who is concerned by this file
[//]: # (For a guide to create CONTRIBUTING.md, see http://mozillascience.github.io/working-open-workshop/contributing/)
This file is for:
- Project owners - creators and maintainers of the project
......@@ -40,7 +41,7 @@ This will run the following hooks:
pytest
```
# Generating distribution archives
## Generating distribution archives
```bash
pip install --upgrade pip
......@@ -48,7 +49,7 @@ pip install --upgrade build
python -m build
```
# Pypi share
## Pypi share
```bash
pip install --upgrade pip
......@@ -57,9 +58,3 @@ python -m twine upload --repository pypi dist/*
```
You will be prompted for a username and password. For the username, use __token__. For the password, use the token value, including the pypi- prefix.
# Gitlab CI configuration for automatic requirements.txt update
1. Add an access token ("Gitlab CI" is a good name) with write permissions to the project's repository.
2. Add a `Settings>CI/CD>Variables` named `PROJECT_ACCESS_TOKEN` with the value of the access token,
1. You may want to use all three options: `Protected`, `Masked`, `Expanded`.
......@@ -87,4 +87,8 @@ legacy_tox_ini = """
[testenv:mypy]
deps = mypy
commands = mypy src
"""
\ No newline at end of file
"""
[tool.pymarkdown]
strict-config = true
plugins.line-length.line_length = 88
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment