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]
|
[tool.hatch.build]
|
||||||
# In the sdist package, what do we want to include and exclude? For example, we don't
|
# 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.
|
# want to include `docs` and `tests` because they are not needed to run RenderCV.
|
||||||
include = [
|
include = ["/README.md", "/rendercv"]
|
||||||
"/README.md",
|
|
||||||
"/rendercv",
|
|
||||||
]
|
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
# Under the `project` section, we specify the metadata about RenderCV.e will use
|
# 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.
|
# and get the version number from there.
|
||||||
name = 'rendercv'
|
name = 'rendercv'
|
||||||
description = 'LaTeX CV generator from a YAML/JSON input file'
|
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' }]
|
authors = [{ name = 'Sina Atalay' }]
|
||||||
requires-python = '>=3.10'
|
requires-python = '>=3.10'
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -53,15 +52,13 @@ readme = "README.md"
|
||||||
# is installed:
|
# is installed:
|
||||||
dependencies = [
|
dependencies = [
|
||||||
'annotated-types==0.6.0',
|
'annotated-types==0.6.0',
|
||||||
'Jinja2==3.1.2',
|
'Jinja2==3.1.3',
|
||||||
'phonenumbers==8.13.22',
|
'phonenumbers==8.13.28',
|
||||||
'pydantic==2.4.2',
|
'pydantic==2.5.3',
|
||||||
'pydantic-extra-types==2.1.0',
|
'pydantic-extra-types==2.4.1',
|
||||||
'pydantic_core==2.10.1',
|
'typing_extensions==4.9.0',
|
||||||
'typing_extensions==4.8.0',
|
'ruamel.yaml==0.18.5',
|
||||||
'pyspellchecker==0.7.2',
|
'email-validator==2.1.0.post1',
|
||||||
'ruamel.yaml==0.17.35',
|
|
||||||
'email-validator==2.0.0.post2',
|
|
||||||
'typer[all]==0.9.0',
|
'typer[all]==0.9.0',
|
||||||
]
|
]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
|
@ -97,9 +94,17 @@ rendercv = 'rendercv.__main__:cli'
|
||||||
# to run RenderCV, but they are required to develop RenderCV. For example, to build the
|
# 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
|
# 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.
|
# users of RenderCV will build the documentation, so these are optional dependencies.
|
||||||
building_docs = ["mkdocs", "mkdocs-material", "mkdocstrings-python"]
|
|
||||||
testing = ["coverage", "pytest", "pytest-cov"]
|
# The documentation of RenderCV is built using MkDocs.
|
||||||
development = ["black", "ruff"]
|
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
|
# 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`
|
# these tools easily. Generally, popular IDEs grab these settings from `pyproject.toml`
|
||||||
# file automatically.
|
# file automatically.
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.black]
|
||||||
# Ruff is a linter (a tool to flag stylistic errors, bugs, suspicious constructs, etc.)
|
|
||||||
line-length = 88 # The maximum line length
|
line-length = 88 # The maximum line length
|
||||||
|
experimental_string_processing = true
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = ['rendercv']
|
source = ['rendercv']
|
||||||
relative_files = true
|
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