forked from peteromallet/desloppify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (103 loc) · 3.77 KB
/
pyproject.toml
File metadata and controls
115 lines (103 loc) · 3.77 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "desloppify"
version = "0.9.9"
description = "Multi-language codebase health scanner and technical debt tracker"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [
{name = "Peter O'Malley", email = "pom@banodoco.ai"},
]
keywords = ["code-quality", "technical-debt", "linter", "static-analysis", "refactoring"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/peteromallet/desloppify"
Repository = "https://github.com/peteromallet/desloppify"
Issues = "https://github.com/peteromallet/desloppify/issues"
[project.optional-dependencies]
treesitter = [
"tree-sitter>=0.21",
"tree-sitter-language-pack>=0.3",
]
csharp-xml = ["defusedxml>=0.7.0"]
python-security = ["bandit>=1.7.8"]
scorecard = ["Pillow>=9.0.0"]
plan-yaml = ["PyYAML>=6.0"]
full = [
"defusedxml>=0.7.0",
"tree-sitter>=0.21",
"tree-sitter-language-pack>=0.3",
"bandit>=1.7.8",
"Pillow>=9.0.0",
"PyYAML>=6.0",
]
[project.scripts]
desloppify = "desloppify.cli:main"
[tool.setuptools.packages.find]
include = ["desloppify*"]
exclude = ["desloppify.tests", "desloppify.tests.*"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
"desloppify.languages._framework" = ["review_data/*.json"]
"desloppify.languages.python" = ["review_data/*.json"]
"desloppify.languages.typescript" = ["review_data/*.json"]
"desloppify.languages.csharp" = ["review_data/*.json"]
"desloppify.languages.cxx" = ["review_data/*.json"]
"desloppify.languages.dart" = ["review_data/*.json"]
"desloppify.languages.gdscript" = ["review_data/*.json"]
"desloppify.languages.go" = ["review_data/*.json"]
"desloppify.languages.rust" = ["review_data/*.json"]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ['desloppify/tests', 'desloppify/languages/python/tests', 'desloppify/languages/typescript/tests', 'desloppify/languages/csharp/tests', 'desloppify/languages/cxx/tests', 'desloppify/languages/dart/tests', 'desloppify/languages/gdscript/tests', 'desloppify/languages/go/tests', 'desloppify/languages/rust/tests']
norecursedirs = ["desloppify/tests/fixtures"]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
warn_redundant_casts = true
warn_unreachable = true
show_error_codes = true
strict_optional = true
ignore_missing_imports = true
follow_imports = "skip"
pretty = true
files = [
"desloppify/app/commands/review/cmd.py",
"desloppify/app/commands/review/prepare.py",
"desloppify/app/commands/review/batch/core_models.py",
"desloppify/app/commands/review/batch/core_parse.py",
"desloppify/app/commands/review/batch/core_normalize.py",
"desloppify/app/commands/review/batch/core_merge_support.py",
"desloppify/app/commands/review/batch/orchestrator.py",
"desloppify/app/commands/review/importing/cmd.py",
"desloppify/app/commands/review/runtime/__init__.py",
"desloppify/app/commands/scan/reporting/dimensions.py",
"desloppify/app/commands/scan/reporting/summary.py",
"desloppify/app/commands/scan/reporting/presentation.py",
"desloppify/app/commands/scan/reporting/subjective.py",
"desloppify/app/commands/scan/workflow.py",
"desloppify/app/cli_support/parser.py",
"desloppify/app/cli_support/parser_groups.py",
]