Skip to content
Snippets Groups Projects
Commit 334653eb authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Rename source directory

Renamed source directory, so that it matches with the package name. Otherwise setuptools won't be able to automatically find the source files.
parent 22c999af
No related branches found
No related tags found
1 merge request!11Integrate setuptools_scm
......@@ -7,7 +7,7 @@ coverage.xml
htmlcov/*
# Setuptools SCM
map/_version.py
my_awesome_app/_version.py
# IDE configuration
.vscode
......
File moved
File moved
......@@ -7,7 +7,7 @@ requires = [
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "map/_version.py"
write_to = "my_awesome_app/_version.py"
[tool.pylint]
ignore = "_version.py"
"""Testing of the Cool Module"""
from unittest import TestCase
from map.cool_module import greeter
from my_awesome_app.cool_module import greeter
class TestCoolModule(TestCase):
......
......@@ -34,8 +34,8 @@ commands =
black: {envpython} -m black --version
black: {envpython} -m black --check --diff .
pylint: {envpython} -m pylint --version
pylint: {envpython} -m pylint map tests
format: {envpython} -m autopep8 -v -aa --in-place --recursive map
pylint: {envpython} -m pylint my_awesome_app tests
format: {envpython} -m autopep8 -v -aa --in-place --recursive my_awesome_app
format: {envpython} -m autopep8 -v -aa --in-place --recursive tests
format: {envpython} -m black -v .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment