File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 37
37
- name : Install dependencies
38
38
run : |
39
39
python3 -m pip install --upgrade pip
40
- python3 -m pip install . -r requirements- dev.txt
40
+ python3 -m pip install .[ dev]
41
41
42
42
- name : Collect Coverage
43
43
run : coverage run -m pytest -vv
Original file line number Diff line number Diff line change 4
4
5
5
tasks :
6
6
- name : Setup & Install
7
- before : pip install -r requirements-dev.txt
7
+ before : pip install -e .[dev]
8
8
init : pre-commit install
9
- command : pip install -e .
Original file line number Diff line number Diff line change @@ -38,8 +38,12 @@ clang-tools = "clang_tools.main:main"
38
38
source = " https://github.com/cpp-linter/clang-tools-pip"
39
39
tracker = " https://github.com/cpp-linter/clang-tools-pip/issues"
40
40
41
- # ... other project metadata fields as specified in:
42
- # https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
41
+ [project .optional-dependencies ]
42
+ dev = [
43
+ " coverage[toml]" ,
44
+ " pre-commit" ,
45
+ " pytest" ,
46
+ ]
43
47
44
48
[tool .setuptools ]
45
49
zip-safe = false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments