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 b93fefa9 authored by Dorian Turba's avatar Dorian Turba
Browse files

update remote link

parent a364da23
No related branches found
No related tags found
No related merge requests found
# HTTP-API
## Documentation
The documentation of this project is located in confluence:
https://beebryte.atlassian.net/wiki/spaces/AQTMN/overview?homepageId=452002085
## Installation
```bash
pip install -r requirements.txt
```
Define the following environment variables:
```bash
CONFLUENCE_API_KEY=<your api key>;
CONFLUENCE_DOMAIN=beebryte.atlassian.net;
CONFLUENCE_PATH=/wiki/;
CONFLUENCE_SPACE_KEY=AQTMN; # The space key of the space to which pages belongs
CONFLUENCE_USER_NAME=<your username>;
```
## Usage
```bash
python -m md2conf .
```
## Pre-commit hooks
Please use the pre-commit hooks provided in this repository to maintain consistency in
the codebase.
### Setup
```bash
pip install --upgrade pip
pip install pre-commit
pre-commit install
pre-commit autoupdate
```
### Manual use
```bash
pre-commit run --all-files
```
\ No newline at end of file
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/r2_metadata/python_install@latest.yaml'
black:
extends:
- .python_install
stage: production
variables:
PYTHON_SETUP: "pip install markdown-to-confluence"
script:
- !reference [.python_install, script]
- python -m md2conf ${PROJECT_PATH}
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba-templates/r2devops_catalog/r2_metadata/python_install@latest.yaml'
- remote: 'https://gitlab.com/dorianturba-templates/r2devops_catalog/-/raw/main/templates/python/partial/python_install/python_install.yml'
black:
extends:
......
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba-templates/r2devops_catalog/r2_metadata/python_install@latest.yaml'
- remote: 'https://gitlab.com/dorianturba-templates/r2devops_catalog/-/raw/main/templates/python/partial/python_install/python_install.yml'
flake8:
extends:
......
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba-templates/r2devops_catalog/r2_metadata/python_install@latest.yaml'
- remote: 'https://gitlab.com/dorianturba-templates/r2devops_catalog/-/raw/main/templates/python/partial/python_install/python_install.yml'
isort:
extends:
......
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba-templates/r2devops_catalog/r2_metadata/python_install@latest.yaml'
- remote: 'https://gitlab.com/dorianturba-templates/r2devops_catalog/-/raw/main/templates/python/partial/python_install/python_install.yml'
requirements-compile:
extends:
......
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba-templates/r2devops_catalog/r2_metadata/python_install@latest.yaml'
- remote: 'https://gitlab.com/dorianturba-templates/r2devops_catalog/-/raw/main/templates/python/partial/python_install/python_install.yml'
pytest:
extends:
......
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