1
1
[project ]
2
2
name = " codeanalyzer-python"
3
- version = " 0.1.10 "
3
+ version = " 0.1.11 "
4
4
description = " Static Analysis on Python source code using Jedi, CodeQL and Treesitter."
5
5
readme = " README.md"
6
6
authors = [
7
- {
name =
" Rahul Krishna" ,
email =
" [email protected] " }
7
+ {
name =
" Rahul Krishna" ,
email =
" [email protected] " }
8
8
]
9
9
requires-python = " >=3.9"
10
10
11
11
dependencies = [
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" ,
23
46
]
24
47
25
48
[dependency-groups ]
26
49
test = [
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"
31
54
]
32
55
dev = [
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"
35
58
]
36
59
37
60
[project .scripts ]
@@ -47,45 +70,45 @@ include = ["codeanalyzer/py.typed"]
47
70
48
71
[tool .hatch .build .targets .sdist ]
49
72
include = [
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"
55
78
]
56
79
57
80
[tool .pytest .ini_options ]
58
81
addopts = [
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"
65
88
]
66
89
testpaths = [" test" ]
67
90
68
91
[tool .coverage .run ]
69
92
source = [" codeanalyzer" ]
70
93
branch = true
71
94
omit = [
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/*"
78
101
]
79
102
80
103
[tool .coverage .report ]
81
104
precision = 2
82
105
show_missing = true
83
106
exclude_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__.:"
89
112
]
90
113
91
114
[tool .coverage .html ]
0 commit comments