-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (82 loc) · 2.58 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
90
91
92
93
94
[tool.poetry]
name = "cldk"
version = "0.5.0-dev"
description = "The official Python SDK for Codellm-Devkit."
authors = ["Rahul Krishna <[email protected]>", "Rangeet Pan <[email protected]>", "Saurabh Sinhas <[email protected]>",
"Raju Pavuluri <[email protected]>"]
license = "Apache 2.0"
readme = "README.md"
homepage = "https://codellm-devkit.info"
repository = "https://github.com/codellm-devkit/python-sdk"
keywords = ["ibm", "llm", "large language models", "code analyzer", "syntax tree"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries :: Application Frameworks"
]
include = [
"LICENSE",
"cldk/analysis/java/codeanalyzer/jar/*.jar"
]
[tool.poetry.dependencies]
python = ">=3.11"
mkdocs-material = {extras = ["imaging"], version = "^9.6.4"}
mkdocs-autorefs = "^1.3.1"
mkdocs-get-deps = "^0.2.0"
mkdocs-material-extensions = "^1.3.1"
mkdocstrings = "^0.28.0"
mkdocstrings-python = "^1.15.0"
mkdocs-git-revision-date-localized-plugin = "^1.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
########################################
# Tool configurations
########################################
[tool.flake8]
max-line-length = 180
count = true
[tool.black]
line-length = 180
[tool.pylint.'MESSAGES CONTROL']
disable = "no-member,protected-access,global-statement"
[tool.pylint.FORMAT]
max-line-length = 180
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--pspec --cov=cldk --cov-fail-under=50"
testpaths = ["tests"]
[tool.coverage.run]
source = ["cldk"]
omit = [
"venv/*",
".venv/*"
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"pragma: no branch",
"pass",
"subprocess.CalledProcessError",
"sys.exit",
"if __name__ == .__main__.:"
]
ignore_errors = true
[tool.coverage.xml]
output="./coverage.xml"
[tool.coverage.html]
title = "Test Coverage Report"
directory = "coverage_html_report"
[tool.cldk.testing]
sample-application = "tests/resources/java/application/"
sample-application-analysis-json = "tests/resources/java/analysis_json/"
codeanalyzer-jar-path = "tests/resources/java/codeanalyzer_jars/"