File tree Expand file tree Collapse file tree 10 files changed +37
-18
lines changed Expand file tree Collapse file tree 10 files changed +37
-18
lines changed Original file line number Diff line number Diff line change 1+ .github
2+ .eggs /
3+ build
4+ dist
5+ * .egg
6+ * .egg-info
7+ tests
8+ venv
9+
10+ __pycache__
11+ * .pyc
12+ * .pyo
13+ * .pyd
14+ * .output
15+ .coverage
16+ .coverage. *
17+ .cache
18+ htmlcov /
19+ .pytest_cache
20+ allure_report
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v3 .2.0
3+ rev : v4 .2.0
44 hooks :
55 - id : trailing-whitespace
66 - id : end-of-file-fixer
77 - id : check-yaml
88 - id : check-added-large-files
99 - repo : https://github.com/psf/black
10- rev : stable
10+ rev : 22.3.0
1111 hooks :
1212 - id : black
1313 language_version : python3
Original file line number Diff line number Diff line change 1- FROM python:3.9
1+ FROM python:3.10-slim-buster
22
33LABEL MAINTAINER="Pradeep Bashyal"
44
55WORKDIR /app
66
77COPY requirements.txt /app
8- RUN pip install --no-cache-dir -r requirements.txt
8+ RUN pip install --no-cache-dir --upgrade pip && \
9+ pip install --no-cache-dir -r requirements.txt
910
1011COPY requirements-deploy.txt /app
1112RUN pip install --no-cache-dir -r requirements-deploy.txt
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ dist: clean ## builds source and wheel package
8484docker-build : # # build a docker image for the service
8585 docker build -t my-project-template-service:0.0.1 .
8686
87- docker : docker-build # # build a docker image for the service
87+ docker : docker-build # # build a docker image and run the service
8888 docker run --name my-project-template -p 8080:8080 my-project-template-service:0.0.1
8989
9090install : clean # # install the package to the active Python's site-packages
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ My Project Template
55How to use the template:
66
771 . Create a template by clicking on the "Use this template" button. Make sure to select all branches
8- This will create a new repository with the given name
8+ This will create a new repository with the given name e.g. ` urban-potato `
992 . Clone the repository locally
1010 ``` shell
1111 git clone git@github.com:pbashyal-nmdp/urban-potato.git
Original file line number Diff line number Diff line change 1- connexion[swagger-ui]==2.9 .0
1+ connexion[swagger-ui]==2.13 .0
22gunicorn==20.1.0
Original file line number Diff line number Diff line change 1- allure-behave == 2.9.43
2- flake8 == 3.9.2
1+ allure-behave == 2.9.45
2+ flake8 == 4.0.1
33bump2version == 1.0.1
4- coverage == 5.5
5- wheel == 0.37.0
6- pre-commit == 2.14 .1
4+ coverage == 6.3.2
5+ wheel == 0.37.1
6+ pre-commit == 2.18 .1
Original file line number Diff line number Diff line change 1- pytest==6.2.5
1+ pytest==7.1.2
22behave==1.2.6
3- PyHamcrest==2.0.2
3+ PyHamcrest==2.0.3
Original file line number Diff line number Diff line change @@ -20,6 +20,3 @@ exclude = docs
2020[aliases]
2121# Define setup.py command aliases here
2222test = pytest
23-
24- [tool:pytest]
25- collect_ignore = [' setup.py' ]
Original file line number Diff line number Diff line change 4343setup (
4444 author = "Pradeep Bashyal" ,
4545 author_email = "pbashyal@nmdp.org" ,
46- python_requires = ">=3.6 " ,
46+ python_requires = ">=3.8 " ,
4747 classifiers = [
4848 "Development Status :: 1 - Pre-Alpha" ,
4949 "Intended Audience :: Developers" ,
5050 "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)" ,
5151 "Natural Language :: English" ,
5252 "Programming Language :: Python :: 3.8" ,
5353 "Programming Language :: Python :: 3.9" ,
54+ "Programming Language :: Python :: 3.10" ,
5455 ],
5556 description = "Python Boilerplate contains all the boilerplate you need to create a Python package." ,
5657 install_requires = requirements ,
You can’t perform that action at this time.
0 commit comments