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 26
26
- name : Install dependencies
27
27
run : |
28
28
python -m pip install --upgrade pip
29
- pip install .
30
- pip install -r requirements-dev.txt
29
+ pip install .[dev]
31
30
32
31
- name : Run tests and collect coverage
33
32
run : |
Original file line number Diff line number Diff line change 7
7
tasks :
8
8
- init : |
9
9
python -m pip install --upgrade pip
10
- pip install .
11
- pip install -r requirements-dev.txt
10
+ pip install .[dev]
Original file line number Diff line number Diff line change @@ -44,8 +44,12 @@ clang-tidy-hook = "cpp_linter_hooks.clang_tidy:main"
44
44
source = " https://github.com/cpp-linter/cpp-linter-hooks"
45
45
tracker = " https://github.com/cpp-linter/cpp-linter-hooks/issues"
46
46
47
- # ... other project metadata fields as specified in:
48
- # https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
47
+ [project .optional-dependencies ]
48
+ dev = [
49
+ " coverage" ,
50
+ " pre-commit" ,
51
+ " pytest" ,
52
+ ]
49
53
50
54
[tool .setuptools ]
51
55
zip-safe = false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments