This commit is contained in:
Sina Atalay 2023-10-15 18:45:14 +02:00
parent 4860bdf785
commit ca2a2719f6
3 changed files with 8 additions and 17 deletions

View File

@ -38,27 +38,17 @@ Source = 'https://github.com/sinaatalay/rendercv'
rendercv = 'rendercv.rendering:main'
[project.optional-dependencies]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings-python",
]
testing = [
"coverage",
"pytest",
"pytest-cov",
]
linting = [
"black",
"ruff"
]
docs = ["mkdocs", "mkdocs-material", "mkdocstrings-python"]
testing = ["coverage", "pytest", "pytest-cov"]
linting = ["black", "ruff"]
[build-system]
# Use setuptools-scm to be able to include TinyTeX in the package
requires = ['setuptools>=68.2.2', "setuptools-scm>=8.0.4"]
build-backend = 'setuptools.build_meta'
# [tool.ruff]
# line-length = 88
[tool.ruff]
line-length = 88
[tool.coverage.run]
source = ['rendercv']

View File

@ -31,5 +31,6 @@ def main(args=sys.argv[1:]):
output_latex_file = render_template(data)
run_latex(output_latex_file)
if __name__ == "__main__":
main(args=["tests/inputs/personal.yaml"])