File tree 8 files changed +8
-3
lines changed
8 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 38
38
- name : Test with tox
39
39
run : |
40
40
pip install tox
41
- tox
41
+ tox -- --cov blacktex --cov-report xml --cov-report term
42
42
- uses : codecov/codecov-action@v1
43
43
if : ${{ matrix.python-version == '3.9' }}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ publish: tag upload
19
19
20
20
clean :
21
21
@find . | grep -E " (__pycache__|\.pyc|\.pyo$\)" | xargs rm -rf
22
- @rm -rf * .egg-info/ build/ dist/ MANIFEST .pytest_cache/
22
+ @rm -rf src/ * .egg-info/ build/ dist/ MANIFEST .pytest_cache/ .tox /
23
23
24
24
format :
25
25
isort .
Original file line number Diff line number Diff line change @@ -32,11 +32,16 @@ keywords =
32
32
linting
33
33
34
34
[options]
35
+ package_dir =
36
+ =src
35
37
packages = find:
36
38
install_requires =
37
39
importlib_metadata; python_version<"3.8"
38
40
python_requires = >=3.6
39
41
42
+ [options.packages.find]
43
+ where =src
44
+
40
45
[options.entry_points]
41
46
console_scripts =
42
47
blacktex = blacktex.cli:main
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
pytest
8
8
pytest-cov
9
9
commands =
10
- pytest --cov {envsitepackagesdir}/blacktex --cov-report xml --cov-report term
10
+ pytest {posargs}
You can’t perform that action at this time.
0 commit comments