mirror of https://github.com/eyhc1/rendercv.git
update pyproject.toml
This commit is contained in:
parent
44b11ff920
commit
85bbbbb240
|
@ -34,10 +34,7 @@ path = "rendercv/__init__.py"
|
|||
[tool.hatch.build]
|
||||
# In the sdist package, what do we want to include and exclude? For example, we don't
|
||||
# want to include `docs` and `tests` because they are not needed to run RenderCV.
|
||||
include = [
|
||||
"/README.md",
|
||||
"/rendercv",
|
||||
]
|
||||
include = ["/README.md", "/rendercv"]
|
||||
|
||||
[project]
|
||||
# Under the `project` section, we specify the metadata about RenderCV.e will use
|
||||
|
@ -45,7 +42,9 @@ include = [
|
|||
# and get the version number from there.
|
||||
name = 'rendercv'
|
||||
description = 'LaTeX CV generator from a YAML/JSON input file'
|
||||
dynamic = ["version"] # We will use hatchling to generate the version number
|
||||
dynamic = [
|
||||
"version",
|
||||
] # We will use hatchling to generate the version number
|
||||
authors = [{ name = 'Sina Atalay' }]
|
||||
requires-python = '>=3.10'
|
||||
readme = "README.md"
|
||||
|
@ -53,15 +52,13 @@ readme = "README.md"
|
|||
# is installed:
|
||||
dependencies = [
|
||||
'annotated-types==0.6.0',
|
||||
'Jinja2==3.1.2',
|
||||
'phonenumbers==8.13.22',
|
||||
'pydantic==2.4.2',
|
||||
'pydantic-extra-types==2.1.0',
|
||||
'pydantic_core==2.10.1',
|
||||
'typing_extensions==4.8.0',
|
||||
'pyspellchecker==0.7.2',
|
||||
'ruamel.yaml==0.17.35',
|
||||
'email-validator==2.0.0.post2',
|
||||
'Jinja2==3.1.3',
|
||||
'phonenumbers==8.13.28',
|
||||
'pydantic==2.5.3',
|
||||
'pydantic-extra-types==2.4.1',
|
||||
'typing_extensions==4.9.0',
|
||||
'ruamel.yaml==0.18.5',
|
||||
'email-validator==2.1.0.post1',
|
||||
'typer[all]==0.9.0',
|
||||
]
|
||||
classifiers = [
|
||||
|
@ -97,9 +94,17 @@ rendercv = 'rendercv.__main__:cli'
|
|||
# to run RenderCV, but they are required to develop RenderCV. For example, to build the
|
||||
# documentation of RenderCV, we need to install some packages. However, not all the
|
||||
# users of RenderCV will build the documentation, so these are optional dependencies.
|
||||
building_docs = ["mkdocs", "mkdocs-material", "mkdocstrings-python"]
|
||||
testing = ["coverage", "pytest", "pytest-cov"]
|
||||
development = ["black", "ruff"]
|
||||
|
||||
# The documentation of RenderCV is built using MkDocs.
|
||||
building_docs = ["mkdocs-material==9.5.4", "mkdocstrings-python==1.8.0"]
|
||||
|
||||
# For tests, RenderCV uses pytest. Coverage package is used to generate coverage
|
||||
# reports.
|
||||
testing = ["coverage==7.4.0", "pytest==7.4.4"]
|
||||
|
||||
# Ruff is a linter (a tool to flag stylistic errors, bugs, suspicious constructs, etc.)
|
||||
# Black is a code formatter.
|
||||
development = ["ruff==0.1.13", "black==23.12.1"]
|
||||
|
||||
|
||||
# RenderCV uses different tools to check the code quality, format the code, build the
|
||||
|
@ -108,15 +113,10 @@ development = ["black", "ruff"]
|
|||
# these tools easily. Generally, popular IDEs grab these settings from `pyproject.toml`
|
||||
# file automatically.
|
||||
|
||||
[tool.ruff]
|
||||
# Ruff is a linter (a tool to flag stylistic errors, bugs, suspicious constructs, etc.)
|
||||
[tool.black]
|
||||
line-length = 88 # The maximum line length
|
||||
experimental_string_processing = true
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ['rendercv']
|
||||
relative_files = true
|
||||
|
||||
[tool.black]
|
||||
# Black is a code formatter. See https://github.com/psf/black
|
||||
line-length = 88 # The maximum line length
|
||||
experimental-string-processing = true # Enable experimental string processing
|
Loading…
Reference in New Issue