-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (128 loc) · 3.64 KB
/
pyproject.toml
File metadata and controls
137 lines (128 loc) · 3.64 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
136
137
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "plotsense"
version = "0.1.3"
description = "An intelligent plotting package with suggestions and explanations"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "Christian Chimezie", email = "chimeziechristiancc@gmail.com"},
{name = "Toluwaleke Ogidan", email = "gbemilekeogidan@gmail.com"},
{name = "Grace Farayola", email = "gracefarayola@gmail.com"},
{name = "Amaka Iduwe", email = "nwaamaka_iduwe@yahoo.com"},
{name = "Nelson Ogbeide", email = "Ogbeide331@gmail.com"},
{name = "Onyekachukwu Ojumah", email = "Onyekaojumah22@gmail.com"},
{name = "Olamilekan Ajao", email = "olamilekan011@gmail.com"},
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"matplotlib>=3.8.0",
"seaborn>=0.11",
"pandas>=1.0",
"numpy>=1.18",
"python-dotenv",
"groq",
"openai",
"anthropic",
"google-genai>=1.70.0",
"requests",
"Pillow>=9.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-mock>=3.10",
"flake8>=6.0",
"autopep8>=2.0",
"pre-commit",
"bandit>=1.7",
]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-mock>=3.10",
]
[project.urls]
Homepage = "https://github.com/christianchimezie/PlotSenseAI"
Documentation = "https://github.com/christianchimezie/PlotSenseAI/blob/main/README.md"
Repository = "https://github.com/christianchimezie/PlotSenseAI"
Issues = "https://github.com/christianchimezie/PlotSenseAI/issues"
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"-ra",
"--showlocals",
"--strict-markers",
"--strict-config",
"-W", "default",
"--durations=10",
]
markers = [
"unit: Unit tests (fast, isolated)",
"integration: Integration tests (slower, test component interaction)",
"e2e: End-to-end tests (slowest, test full workflows)",
"slow: Tests that take significant time to run",
"api: Tests that make external API calls",
"requires_api_key: Tests requiring valid API credentials",
"plotting: Tests that generate visualizations",
"live: Live tests requiring real API keys and actual API calls",
]
filterwarnings = [
"ignore::UserWarning:plotsense.visual_suggestion",
"ignore::DeprecationWarning:matplotlib",
"ignore::PendingDeprecationWarning",
]
console_output_style = "progress"
log_cli = false
log_cli_level = "INFO"
log_file = "test_logs/pytest.log"
log_file_level = "DEBUG"
[tool.coverage.run]
source = ["plotsense"]
branch = true
omit = [
"*/tests/*",
"*/test_*.py",
"*/__pycache__/*",
"*/venv/*",
"setup.py",
]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
[tool.coverage.html]
directory = "htmlcov"
[tool.coverage.xml]
output = "coverage.xml"
[tool.bandit]
exclude_dirs = ["test", "tests", "venv", "env", ".venv"]
skips = ["B101", "B601"]