@echo "Don't forget to run 'make virtualenv' if you got errors."
$(ENV_PREFIX)pip install -e .[test]
-.PHONY: fmt
-fmt: ## Format code using black & isort.
+.PHONY: format
+format: ## Format code using black & isort.
$(ENV_PREFIX)isort network_generation/
$(ENV_PREFIX)black -l 79 network_generation/
$(ENV_PREFIX)black -l 79 tests/
.PHONY: lint
lint: ## Run pep8, black, mypy linters.
$(ENV_PREFIX)flake8 network_generation/
+ $(ENV_PREFIX)flake8 tests/
$(ENV_PREFIX)black -l 79 --check network_generation/
$(ENV_PREFIX)black -l 79 --check tests/
- $(ENV_PREFIX)mypy --ignore-missing-imports network_generation/
+ $(ENV_PREFIX)mypy --ignore-missing-imports --disallow-untyped-defs --check-untyped-def network_generation/
.PHONY: test
test: lint ## Run tests and generate coverage report.
--- /dev/null
+# Copyright 2023 highstreet technologies GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This requirements are for development and testing only, not for production.
+pytest
+coverage
+flake8
+black
+isort
+pytest-cov
+mypy
+gitchangelog
+mkdocs