-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (121 loc) · 3.3 KB
/
Copy pathpyproject.toml
File metadata and controls
135 lines (121 loc) · 3.3 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[project]
name = "oaa-observatory"
version = "0.2.0"
description = "Longitudinal firm-level AI adaptation signal infrastructure from public sources"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.12"
authors = [
{ name = "Organizational AI Adaptation Observatory Contributors" },
]
keywords = [
"organizational-ai",
"empirical-research",
"firm-panel",
"entity-resolution",
"research-infrastructure",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Information Analysis",
"Typing :: Typed",
]
dependencies = [
"beautifulsoup4>=4.12.0",
"duckdb>=1.1.0",
"httpx>=0.27.0",
"loguru>=0.7.0",
"lxml>=5.0.0",
"pandas>=2.2.0",
"pyarrow>=17.0.0",
"pydantic>=2.9.0",
"pydantic-settings>=2.5.0",
"pyyaml>=6.0.0",
"rich>=13.9.0",
"tomli>=2.0.0; python_version < '3.11'",
"typer>=0.12.0",
]
[project.optional-dependencies]
dev = [
"mypy>=1.13.0",
"pandas-stubs>=2.2.0",
"pre-commit>=4.0.0",
"pytest>=8.3.0",
"pytest-cov>=5.0.0",
"ruff>=0.8.0",
"types-PyYAML>=6.0.0",
]
[project.scripts]
oaa = "oaa_observatory.cli:app"
[project.urls]
Homepage = "https://github.com/organizational-ai-adaptation/organizational-ai-adaptation-observatory"
Documentation = "https://github.com/organizational-ai-adaptation/organizational-ai-adaptation-observatory#readme"
Repository = "https://github.com/organizational-ai-adaptation/organizational-ai-adaptation-observatory"
Issues = "https://github.com/organizational-ai-adaptation/organizational-ai-adaptation-observatory/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/oaa_observatory"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-ra --strict-markers --strict-config"
markers = [
"integration: integration tests requiring external data or credentials",
"slow: slow-running tests",
]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src", "tests", "scripts"]
[tool.ruff.lint]
select = [
"E", "F", "I", "N", "UP", "B", "SIM", "ARG", "PTH",
"RUF", "D",
]
ignore = [
"D100",
"D104",
"TC001",
"TC002",
"TC003",
"UP042",
"SIM108",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["D103", "D102", "D101", "ARG001", "TC003"]
"scripts/**/*.py" = ["D103"]
"src/oaa_observatory/cli.py" = ["B008"]
"src/oaa_observatory/sec/client.py" = ["D105"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unreachable = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
packages = ["oaa_observatory"]
mypy_path = "src"
[[tool.mypy.overrides]]
module = ["duckdb.*", "httpx.*", "bs4.*"]
ignore_missing_imports = true
[tool.coverage.run]
source = ["oaa_observatory"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"@abstractmethod",
]