Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit b4d391ad authored by Dorian Turba's avatar Dorian Turba
Browse files

fix mypy template testing

parent 0665c66e
No related branches found
No related tags found
No related merge requests found
......@@ -30,17 +30,17 @@ flake8:
- templates/python/code_quality/flake8/**/*
- tests/flake8_project/**/*
flake8-pluggin:
stage: templates
variables:
PROJECT_PATH: "tests/flake8_project"
PYTHON_SETUP: "pip install flake8 flake8-bugbear"
only:
changes:
- .gitlab-ci.yml
- pyproject.toml
- templates/python/code_quality/flake8/**/*
- tests/flake8_project/**/*
#flake8-plugin:
# stage: templates
# variables:
# PROJECT_PATH: "tests/flake8_project"
# PYTHON_SETUP: "pip install flake8 flake8-bugbear"
# only:
# changes:
# - .gitlab-ci.yml
# - pyproject.toml
# - templates/python/code_quality/flake8/**/*
# - tests/flake8_project/**/*
black:
stage: templates
......
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mypy_project"
version = "0.1.0"
authors = [
{ name = "Author Name", email = "author.name@example.com" },
]
description = "A description of what the package is for."
from mypy_project.main import main
__all__ = ["main"]
"""Sample main module."""
def main() -> bool:
"""Sample main function."""
print("Hello, world!")
return True
if __name__ == "__main__":
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment