Skip to content

Commit 391b2b1

Browse files
committed
update .gitignore
1 parent ab19e64 commit 391b2b1

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ __pycache_
1414
/*.eg
1515
*.egg-info
1616
/eggs
17+
/.eggs
1718
/build
1819
/dist
1920
/venv
2021
.coverage
22+
.pytest_cache
2123
.pypirc
2224

2325
*.key

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,21 @@ SOURCES=$(MAIN_SOURCE) $(DEMO) $(TESTS)
1818

1919
$(VIRTUAL_ENV):
2020
$(PYTHON_WITH_VERSION) -m venv $(VIRTUAL_ENV)
21-
$(PIP) install .
22-
$(PIP) install -e ".[test]"
2321

2422
virtualenv: $(VIRTUAL_ENV)
2523

26-
pytest: virtualenv
24+
install: $(PIP) install .
25+
26+
install-dev: $(PIP) install -e ".[test]"
27+
28+
pytest:
2729
$(COVERAGE) run --source $(MAIN_SOURCE) --rcfile=$(COVERAGE_CONFIG) -m pytest
2830
$(COVERAGE) report -m --rcfile=$(COVERAGE_CONFIG)
2931

30-
pycodestyle: virtualenv
32+
pycodestyle:
3133
$(PYCODESTYLE) $(SOURCES) --config=$(PEP8_CONFIG)
3234

33-
flake8: virtualenv
35+
flake8:
3436
$(FLAKE8) --ignore=E501,E731 $(SOURCES)
3537

3638
clean:

0 commit comments

Comments
 (0)