1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
[tool.pdm]
[tool.pdm.dev-dependencies]
test = [
"pytest",
"pytest-cov",
"pyyaml~=5.4",
]
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[project]
# PEP 621 project metadata
# See https://peps.python.org/pep-0621/
name = "atoml"
# version = {use_scm = true} -> invalid, must be string
authors = [
{name = "Frost Ming", email = "mianghong@gmail.com"},
{name = "Sébastien Eustace", email = "sebastien@eustace.io"},
]
license = {text = "MIT"}
requires-python = ">=3.6"
dependencies = []
description = "Yet another style preserving TOML library"
readme = "README.md"
dynamic = ["classifiers", "version"]
[project.urls]
Homepage = "https://github.com/frostming/atoml.git"
Repository = "https://github.com/frostming/atoml.git"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| tests/toml-test
)/
'''
[tool.isort]
profile = "black"
atomic = true
lines_after_imports = 2
lines_between_types = 1
known_first_party = ["atoml"]
known_third_party = ["pytest"]
|