mirror of
https://github.com/kirill-markin/repo-to-text.git
synced 2025-12-05 19:12:24 -08:00
fix pyproject usage
This commit is contained in:
parent
fae0657b04
commit
6bcd21f40f
3 changed files with 21 additions and 11 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
|
@ -27,8 +27,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install .[dev]
|
||||||
pip install pytest
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest tests/
|
pytest tests/
|
||||||
|
|
@ -1,3 +1,2 @@
|
||||||
include README.md
|
include README.md
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include requirements.txt
|
|
||||||
26
README.md
26
README.md
|
|
@ -177,19 +177,31 @@ To install `repo-to-text` locally for development, follow these steps:
|
||||||
cd repo-to-text
|
cd repo-to-text
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install the package locally:
|
2. Install the package with development dependencies:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install -e .
|
pip install -e .[dev]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installing Dependencies
|
### Requirements
|
||||||
|
|
||||||
To install all the required dependencies, run the following command:
|
- Python >= 3.6
|
||||||
|
- Core dependencies:
|
||||||
|
- setuptools >= 70.0.0
|
||||||
|
- pathspec >= 0.12.1
|
||||||
|
- argparse >= 1.4.0
|
||||||
|
- PyYAML >= 6.0.1
|
||||||
|
|
||||||
```bash
|
### Development Dependencies
|
||||||
pip install -r requirements.txt
|
|
||||||
```
|
For development, additional packages are required:
|
||||||
|
|
||||||
|
- pytest >= 8.2.2
|
||||||
|
- black
|
||||||
|
- mypy
|
||||||
|
- isort
|
||||||
|
- build
|
||||||
|
- twine
|
||||||
|
|
||||||
### Running Tests
|
### Running Tests
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue