-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (78 loc) · 2.14 KB
/
pyproject.toml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[tool.poetry]
name = "sas7bdat-converter-cli"
version = "1.0.0"
description = "CLI to convert sas7bdat and xport files into other formats"
authors = ["Paul Sanders <paul@pbsdatasolutions.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/pbs-data-solutions/sas7bdat-converter-cli"
homepage = "https://github.com/pbs-data-solutions/sas7bdat-converter-cli"
documentation = "https://github.com/pbs-data-solutions/sas7bdat-converter-cli"
keywords = ["sas", "sas7bdat", "converter", "xpt", "XPort"]
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Typing :: Typed",
]
include = ["sas7bdat_converter_cli/py.typed"]
[tool.poetry.dependencies]
python = "^3.8"
typer = "0.15.1"
sas7bdat-converter = {version = "2.0.1", extras = ["all"]}
rich = "13.9.4"
[tool.poetry.group.dev.dependencies]
mypy = "1.14.1"
pre-commit = "3.5.0"
pytest = "8.3.4"
pytest-cov = "5.0.0"
ruff = "0.9.4"
tomli = {version = "2.2.1", python = "<3.11"}
pandas-stubs = "2.0.3.230814"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
sas7bdat-converter = "sas7bdat_converter_cli.main:app"
[tool.mypy]
check_untyped_defs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = ["pyarrow.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=sas7bdat_converter_cli --cov-report term-missing"
[tool.coverage.report]
exclude_lines = ["if __name__ == .__main__.:", "pragma: no cover"]
[tool.ruff]
line-length = 100
target-version = "py38"
fix = true
[tool.ruff.lint]
select=["E", "F", "UP", "I001", "T201", "T203"]
ignore=[
# Recommened ignores by ruff when using formatter
"E501",
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]