File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed
Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ # v1.3.0 (2021-05-31)
4+
5+ * Pins dependencies and moves them to a constant
6+ * Adds missing lines to code coverage report
7+
38## v1.2.0 (2021-01-30)
49
510* Fixed the Coveralls command in GitHub Actions, builds now pass with their new platform requirement flag
Original file line number Diff line number Diff line change 3232
3333# # coverage - Test the project and generate an HTML coverage report
3434coverage :
35- venv/bin/pytest --cov=python_project --cov-branch --cov-report=html
35+ venv/bin/pytest --cov=python_project --cov-branch --cov-report=html --cov-report=term-missing
3636
3737.PHONY : help install clean lint test coverage
Original file line number Diff line number Diff line change 33with open ("README.md" , "r" ) as fh :
44 long_description = fh .read ()
55
6- # REQUIREMENTS = [
7- # 'requests >= 1.0.0',
8- # ]
6+ REQUIREMENTS = [
7+ # 'requests >= 1.0.0',
8+ ]
9+
10+ DEV_REQUIREMENTS = [
11+ 'coveralls == 3.*' ,
12+ 'flake8' ,
13+ 'mock == 4.*' ,
14+ 'pytest == 6.*' ,
15+ 'pytest-cov == 2.*' ,
16+ ]
917
1018setuptools .setup (
1119 name = 'PROJECT_NAME' ,
2230 "License :: OSI Approved :: MIT License" ,
2331 "Operating System :: OS Independent" ,
2432 ],
25- # install_requires=REQUIREMENTS,
33+ install_requires = REQUIREMENTS ,
2634 extras_require = {
27- 'dev' : [
28- 'pytest >= 6.0.0' ,
29- 'pytest-cov >= 2.10.0' ,
30- 'coveralls >= 2.1.2' ,
31- 'flake8 >= 3.8.0' ,
32- 'mock >= 4.0.0' ,
33- ]
35+ 'dev' : DEV_REQUIREMENTS
3436 },
3537 entry_points = {
3638 'console_scripts' : [
You can’t perform that action at this time.
0 commit comments