11[project ]
22name = " codeanalyzer-python"
3- version = " 0.1.10 "
3+ version = " 0.1.11 "
44description = " Static Analysis on Python source code using Jedi, CodeQL and Treesitter."
55readme = " README.md"
66authors = [
7- { name = " Rahul Krishna" , email = " i.m.ralk@gmail.com" }
7+ { name = " Rahul Krishna" , email = " i.m.ralk@gmail.com" }
88]
99requires-python = " >=3.9"
1010
1111dependencies = [
12- " jedi>=0.18.0,<0.20.0" ,
13- " msgpack>=1.0.0,<1.0.7" ,
14- " networkx>=2.6.0,<3.2.0" ,
15- " pandas>=1.3.0,<2.0.0" ,
16- " numpy>=1.21.0,<1.24.0" ,
17- " pydantic>=1.8.0,<2.0.0" ,
18- " requests>=2.20.0,<3.0.0" ,
19- " rich>=12.6.0,<14.0.0" ,
20- " typer>=0.9.0,<1.0.0" ,
21- " ray>=2.0.0,<3.0.0" ,
22- " typing-extensions>=4.0.0"
12+ # jedi
13+ " jedi>=0.18.0,<0.20.0; python_version < '3.11'" ,
14+ " jedi<=0.19.2; python_version >= '3.11'" ,
15+ # msgpack
16+ " msgpack>=1.0.0,<1.0.7; python_version < '3.11'" ,
17+ " msgpack>=1.0.7,<2.0.0; python_version >= '3.11'" ,
18+ # networkx
19+ " networkx>=2.6.0,<3.2.0; python_version < '3.11'" ,
20+ " networkx>=3.0.0,<4.0.0; python_version >= '3.11'" ,
21+ # pandas
22+ " pandas>=1.3.0,<2.0.0; python_version < '3.11'" ,
23+ " pandas>=2.0.0,<3.0.0; python_version >= '3.11'" ,
24+ # numpy
25+ " numpy>=1.21.0,<1.24.0; python_version < '3.11'" ,
26+ " numpy>=1.24.0,<2.0.0; python_version >= '3.11' and python_version < '3.12'" ,
27+ " numpy>=1.26.0,<2.0.0; python_version >= '3.12'" ,
28+ # pydantic
29+ " pydantic>=1.8.0,<2.0.0; python_version < '3.11'" ,
30+ " pydantic>=2.0.0,<3.0.0; python_version >= '3.11'" ,
31+ # requests
32+ " requests>=2.20.0,<3.0.0; python_version >= '3.11'" ,
33+ # rich
34+ " rich>=12.6.0,<14.0.0; python_version < '3.11'" ,
35+ " rich>=14.0.0,<15.0.0; python_version >= '3.11'" ,
36+ # typer
37+ " typer>=0.9.0,<1.0.0; python_version < '3.11'" ,
38+ " typer>=0.9.0,<2.0.0; python_version >= '3.11'" ,
39+ # typing-extensions
40+ " typing-extensions>=4.0.0,<5.0.0; python_version < '3.11'" ,
41+ " typing-extensions>=4.5.0,<6.0.0; python_version >= '3.11'" ,
42+ # ray
43+ " ray==2.0.0; python_version < '3.11'" ,
44+ " ray>=2.10.0,<3.0.0; python_version >= '3.11'" ,
45+ " packaging>=25.0" ,
2346]
2447
2548[dependency-groups ]
2649test = [
27- " pytest>=7.0.0,<8.0.0" ,
28- " pytest-asyncio>=0.14.0,<0.15.0" ,
29- " pytest-cov>=2.10.0,<3.0.0" ,
30- " pytest-pspec>=0.0.3"
50+ " pytest>=7.0.0,<8.0.0" ,
51+ " pytest-asyncio>=0.14.0,<0.15.0" ,
52+ " pytest-cov>=2.10.0,<3.0.0" ,
53+ " pytest-pspec>=0.0.3"
3154]
3255dev = [
33- " ipdb>=0.13.0,<0.14.0" ,
34- " pre-commit>=2.9.0,<3.0.0"
56+ " ipdb>=0.13.0,<0.14.0" ,
57+ " pre-commit>=2.9.0,<3.0.0"
3558]
3659
3760[project .scripts ]
@@ -47,45 +70,45 @@ include = ["codeanalyzer/py.typed"]
4770
4871[tool .hatch .build .targets .sdist ]
4972include = [
50- " codeanalyzer" ,
51- " codeanalyzer/py.typed" ,
52- " README.md" ,
53- " LICENSE" ,
54- " NOTICE"
73+ " codeanalyzer" ,
74+ " codeanalyzer/py.typed" ,
75+ " README.md" ,
76+ " LICENSE" ,
77+ " NOTICE"
5578]
5679
5780[tool .pytest .ini_options ]
5881addopts = [
59- " -p" , " coverage" ,
60- " --cov=codeanalyzer" ,
61- " --cov-report=html" ,
62- " --cov-report=term-missing" ,
63- " --cov-fail-under=40" ,
64- " --ignore=test/fixtures"
82+ " -p" , " coverage" ,
83+ " --cov=codeanalyzer" ,
84+ " --cov-report=html" ,
85+ " --cov-report=term-missing" ,
86+ " --cov-fail-under=40" ,
87+ " --ignore=test/fixtures"
6588]
6689testpaths = [" test" ]
6790
6891[tool .coverage .run ]
6992source = [" codeanalyzer" ]
7093branch = true
7194omit = [
72- " */tests/*" ,
73- " */test_*" ,
74- " */__pycache__/*" ,
75- " */venv/*" ,
76- " */.venv/*" ,
77- " codeanalyzer/semantic_analysis/*"
95+ " */tests/*" ,
96+ " */test_*" ,
97+ " */__pycache__/*" ,
98+ " */venv/*" ,
99+ " */.venv/*" ,
100+ " codeanalyzer/semantic_analysis/*"
78101]
79102
80103[tool .coverage .report ]
81104precision = 2
82105show_missing = true
83106exclude_lines = [
84- " pragma: no cover" ,
85- " def __repr__" ,
86- " raise AssertionError" ,
87- " raise NotImplementedError" ,
88- " if __name__ == .__main__.:"
107+ " pragma: no cover" ,
108+ " def __repr__" ,
109+ " raise AssertionError" ,
110+ " raise NotImplementedError" ,
111+ " if __name__ == .__main__.:"
89112]
90113
91114[tool .coverage .html ]
0 commit comments