First version
This commit is contained in:
1 parent
9c5b8ab38c
commit
6e2442b41e
6 files changed
+217
No files matched your search
@@ -0,0 +1,32 @@
|
||||
[project]
|
||||
name = "lib-shared-models"
|
||||
version = "0.1.0"
|
||||
description = "Shared model(s) to validate against"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = []
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
shared_models = ["py.typed"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
target-version = "py312"
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", "F", # pycodestyle errors, pyflakes (unused imports/variables, undefined names)
|
||||
"I", # import sorting (replaces isort)
|
||||
"B", # bugbear: likely bugs
|
||||
"ASYNC", # async mistakes
|
||||
"RUF006", # un-referenced asyncio.create_task (tasks can be garbage-collected)
|
||||
]
|
||||
ignore = ["E501"]
|
||||
|
||||
[tool.ruff.format]
|
||||
indent-style = "tab"
|
||||
Reference in new issue
Block a user