-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DXE-2766 Merge pull request #42 from akamai/release/v2.1.2
release v2.1.2
- Loading branch information
Showing
11 changed files
with
271 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[BASIC] | ||
disable= | ||
redefined-builtin, | ||
unspecified-encoding | ||
|
||
good-names= | ||
rc, | ||
httpie-edgegrid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
PYTHON = python3.10 | ||
|
||
.PHONY: help | ||
help: | ||
@echo " install install all dev and production dependencies (virtualenv is created as venv)" | ||
@echo " clean remove unwanted stuff" | ||
@echo " lint check style" | ||
@echo " test run tests" | ||
@echo " coverage run tests with code coverage" | ||
|
||
.PHONY: install | ||
install: | ||
$(PYTHON) -m venv venv; . venv/bin/activate; $(PYTHON) -m pip install -r requirements_dev.txt | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -fr venv | ||
|
||
.PHONY: lint | ||
lint: | ||
@. venv/bin/activate; find . -iname "*.py" -not -path "./venv/*" -not -path "./test/*" -exec echo "Linting {}" \; -exec pylint -rn {} \; | ||
|
||
.PHONY: test | ||
test: | ||
@. venv/bin/activate; pytest -v --junitxml test/tests.xml | ||
|
||
.PHONY: coverage | ||
coverage: | ||
@. venv/bin/activate; pytest --cov-report xml:test/coverage/cobertura-coverage.xml --cov=gen_edgerc --cov=httpie_edgegrid test/ | ||
|
||
.PHONY: all | ||
all: clean install lint test coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.