-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (62 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
72 lines (62 loc) · 2.15 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
[build-system]
build-backend = 'poetry.core.masonry.api'
requires = ['poetry-core']
[project]
authors = [{ name="[Code Quality] Data & ML Squad", email="quality.data-ml@sonarsource.com" }]
classifiers = ['Environment :: Console', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.14', 'Topic :: Software Development :: Quality Assurance']
description = 'Sonar Scanner for the Python Ecosystem'
keywords = ['sonar', 'sonarqube', 'sonarcloud', 'cleancode']
license = 'LGPL-3.0-only'
name = 'pysonar'
readme = 'README.md'
version = "1.5.0"
dynamic = ["dependencies"]
[project.urls]
homepage = 'https://github.com/SonarSource/sonar-scanner-python'
repository = 'https://github.com/SonarSource/sonar-scanner-python'
[tool]
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
[tool.coverage]
[tool.coverage.run]
branch = true
relative_files = true
[tool.poetry.dependencies]
python = '>=3.9'
tomli = '>=2.0,<3'
requests = ">=2.32,<3"
jproperties = ">=2.1,<3"
[tool.poetry.group]
[tool.poetry.group.dev]
[tool.poetry.group.dev.dependencies]
responses = "0.25.8"
pyfakefs = "5.9.3"
black = "25.1.0"
coverage = "7.10.6"
licenseheaders = "0.8.8"
mypy = "1.15.0"
pytest = '8.4.2'
pytest-cov = '7.0.0'
pytest-subtests = "0.14.1"
pytest-docker = "3.2.0"
debugpy = "1.8.13"
types-requests = "2.32.0.20250328"
[[tool.poetry.packages]]
from = 'src'
include = 'pysonar_scanner'
[tool.poetry.scripts]
pysonar = 'pysonar_scanner.__main__:main'
[[tool.poetry.source]]
name = 'repox'
url = 'https://repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple'
priority = "primary"
[tool.pytest]
[tool.pytest.ini_options]
addopts = ['--import-mode=importlib', '--strict-markers']
pythonpath = ['src']
markers = [
"its: marks tests as its"
]
log_cli = true
log_cli_level = "INFO"