2019-07-26 18:55:30 +08:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools", "wheel", "numpy"]
|
2021-10-13 14:14:29 +08:00
|
|
|
|
2024-06-21 09:26:53 +08:00
|
|
|
[tool.ruff]
|
2021-10-17 07:11:06 +08:00
|
|
|
line-length = 88
|
2024-06-21 09:26:53 +08:00
|
|
|
select = [
|
|
|
|
"F", # Flake8
|
|
|
|
# "B", # Black
|
|
|
|
"I", # isort
|
|
|
|
"E", # pycodestyle-errors
|
|
|
|
"D", # pydocstyle
|
|
|
|
]
|
|
|
|
extend-ignore = [
|
|
|
|
"D417",
|
|
|
|
"D100",
|
|
|
|
# "D101",
|
|
|
|
# "D102",
|
|
|
|
# "D103",
|
|
|
|
# "D203", # Confilct with D211
|
|
|
|
# "D205",
|
|
|
|
# "D213", # Conflict with D212
|
|
|
|
]
|
|
|
|
exclude = [
|
|
|
|
"test/phonon/test_irreps.py",
|
|
|
|
"test/qha/test_electron.py",
|
|
|
|
"phonopy/interface/cp2k.py",
|
|
|
|
]
|
|
|
|
|
2021-10-23 11:23:12 +08:00
|
|
|
|
2024-06-21 09:26:53 +08:00
|
|
|
[tool.ruff.lint.pydocstyle]
|