fizzbuzz-a-a-r-2-0.1.0
توضیحات
Setting up CI project
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fizzbuzz-a-a-r-2-0.1.0 |
| نام | fizzbuzz-a-a-r-2 |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | augustin-marie |
| ایمیل نویسنده | a.marie189@laposte.net |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fizzbuzz-a-a-r-2/ |
| مجوز | - |
# ExamFinalScripting
## Who made this project ?
### Group :
- Augustin Marie
- Aya Najare
- Remi Staelen
## Want to use this project ?
1. Fork / Clone
2. Create and activate a virtual environment **without poetry**
#### Install venv
```sh
$ py -m pip install --user virtualenv
```
#### Creating virtual env
```sh
$ py -m venv env
```
#### Activating virtual env
```sh
$ .\env\Scripts\activate
```
3. Install requirements
```sh
$ pip install -r requirements.txt
```
4. Install poetry
```sh
$ pipx install poetry
```
5. Install poetry dependencies
```sh
$ poetry install
```
6. Activate virtual env **using poetry**
```sh
$ poetry shell
```
## Run the tests with poetry:
### Unit tests
Unit tests are made with the unittest, to launch them manually, run :
```sh
$ poetry run python -m unittest discover
```
### Functional tests
Functional tests are made with behave, to launch them manually, run :
```sh
$ poetry run behave
```
## CI made with
To manually run linters with poetry, you can use the following commands :
### flake8
```sh
$ poetry run flake8 .
```
### Isort
```sh
$ poetry run isort .
```
### Bandit
```sh
$ poetry run bandit -r .
```
## Build & Publish with poetry
### Authentication
```sh
$ poetry config http-basic.pypi <username> <password>
```
### Build & Publish
```sh
$ poetry publish --build
```
نیازمندی
| مقدار | نام |
|---|---|
| >=6.0.0,<7.0.0 | flake8 |
| ==57.2.0 | setuptools |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >3.9 | Python |
نحوه نصب
نصب پکیج whl fizzbuzz-a-a-r-2-0.1.0:
pip install fizzbuzz-a-a-r-2-0.1.0.whl
نصب پکیج tar.gz fizzbuzz-a-a-r-2-0.1.0:
pip install fizzbuzz-a-a-r-2-0.1.0.tar.gz