Skip to content

Commit bbd02e9

Browse files
committed
build updates
1 parent 9a7d090 commit bbd02e9

File tree

5 files changed

+69
-51
lines changed

5 files changed

+69
-51
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ TIMEOUT := 3
88
all: dist/lambda-gateway-latest.tar.gz
99

1010
clean:
11-
rm -rf dist *.iid coverage.xml
11+
rm -rf dist *.iid .pytest_cache coverage.xml
1212

1313
images: Dockerfile.3.7.iid Dockerfile.3.8.iid
1414

@@ -38,5 +38,4 @@ dist/lambda-gateway-%.tar.gz: coverage.xml
3838
SETUPTOOLS_SCM_PRETEND_VERSION=$* python setup.py sdist
3939

4040
coverage.xml: $(shell find lambda_gateway tests -name '*.py')
41-
flake8 $^
4241
pytest

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ipdb = "*"
1010
ipython = "*"
1111
pytest = "*"
1212
pytest-cov = "*"
13+
pytest-flake8 = "*"
1314
twine = "*"
1415

1516
[packages]

Pipfile.lock

Lines changed: 62 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[build-system]
22
requires = ["setuptools", "wheel"]
3-
build-backend = "setuptools.build_meta:__legacy__"
3+
build-backend = "setuptools.build_meta:__legacy__"
4+
5+
[tool.pytest.ini_options]
6+
minversion = "6.0"
7+
addopts = "--verbose --flake8 --cov tests --cov-report term-missing --cov-report xml --cov lambda_gateway"

pytest.ini

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy