-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 2.08 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 2.08 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
[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', '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.0.1"
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.2.1'
requests = "^2.32.3"
responses = "^0.25.6"
pyfakefs = "^5.7.4"
jproperties = "^2.1.2"
[tool.poetry.group]
[tool.poetry.group.dev]
[tool.poetry.group.dev.dependencies]
black = "25.1.0"
coverage = '>=7.3.3'
licenseheaders = '>=0.8.8'
mypy = '>=1.7.1'
pytest = '8.3.5'
pytest-cov = '6.0.0'
pytest-subtests = "^0.14.1"
pytest-docker = "^3.2.0"
debugpy = "^1.8.13"
[[tool.poetry.packages]]
from = 'src'
include = 'pysonar_scanner'
[tool.poetry.scripts]
pysonar = 'pysonar_scanner.__main__:scan'
[[tool.poetry.source]]
name = 'jfrog-server'
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"