-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
58 lines (48 loc) · 1.78 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
[build-system]
build-backend = 'poetry.core.masonry.api'
requires = ['poetry-core']
[project]
[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]
authors = ['Python Squad <analysis.python@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.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Topic :: Software Development :: Quality Assurance']
description = 'Sonar Scanner for the Python Ecosystem'
keywords = ['sonar', 'sonarqube', 'sonarcloud', 'cleancode']
license = 'LGPL-3.0-only'
name = 'pysonar-scanner'
readme = 'README.md'
version = "0.2.0"
[tool.poetry.dependencies]
python = '>=3.8'
toml = '>=0.10.2'
[tool.poetry.group]
[tool.poetry.group.dev]
[tool.poetry.group.dev.dependencies]
black = "24.8.0"
coverage = '>=7.3.3'
licenseheaders = '>=0.8.8'
mypy = '>=1.7.1'
pytest = '8.3.4'
pytest-cov = '5.0.0'
[[tool.poetry.packages]]
from = 'src'
include = 'pysonar_scanner'
[tool.poetry.scripts]
pysonar-scanner = 'pysonar_scanner.__main__:scan'
[[tool.poetry.source]]
name = 'jfrog-server'
url = 'https://repox.jfrog.io/artifactory/api/pypi/sonarsource-pypi/simple'
[tool.pytest]
[tool.pytest.ini_options]
addopts = ['--import-mode=importlib']
pythonpath = ['src']