jaymd96-pants-baseline 0.1.0__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/PKG-INFO +7 -7
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/README.md +6 -6
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/pyproject.toml +1 -1
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/__about__.py +1 -1
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/audit.py +5 -7
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/audit_rules.py +2 -59
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/fmt_rules.py +6 -8
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/lint_rules.py +5 -7
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/test_rules.py +9 -13
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/typecheck_rules.py +5 -7
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/ruff.py +2 -2
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/ty.py +2 -2
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/uv.py +2 -2
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/.gitignore +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/LICENSE +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/fmt.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/lint.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/test.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/typecheck.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/register.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/baseline.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/targets.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/conftest.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/integration/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/integration/test_goals.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/unit/__init__.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/unit/test_subsystems.py +0 -0
- {jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/unit/test_targets.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jaymd96-pants-baseline
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Opinionated Python code quality baseline plugin for Pants build system
|
|
5
5
|
Project-URL: Homepage, https://github.com/jaymd96/pants-baseline
|
|
6
6
|
Project-URL: Repository, https://github.com/jaymd96/pants-baseline.git
|
|
@@ -69,7 +69,7 @@ baseline_python_project(
|
|
|
69
69
|
name="my_project",
|
|
70
70
|
sources=["src/**/*.py"],
|
|
71
71
|
test_sources=["tests/**/*.py"],
|
|
72
|
-
python_version="3.
|
|
72
|
+
python_version="3.13",
|
|
73
73
|
line_length=120,
|
|
74
74
|
strict=True,
|
|
75
75
|
coverage_threshold=80,
|
|
@@ -105,7 +105,7 @@ pants baseline-audit ::
|
|
|
105
105
|
enabled = true
|
|
106
106
|
|
|
107
107
|
# Target Python version
|
|
108
|
-
python_version = "3.
|
|
108
|
+
python_version = "3.13"
|
|
109
109
|
|
|
110
110
|
# Maximum line length
|
|
111
111
|
line_length = 120
|
|
@@ -209,7 +209,7 @@ The `baseline_python_project` target supports the following fields:
|
|
|
209
209
|
|-------|------|---------|-------------|
|
|
210
210
|
| `sources` | `list[str]` | `["**/*.py"]` | Python source file patterns |
|
|
211
211
|
| `test_sources` | `list[str]` | `["tests/**/*.py"]` | Test file patterns |
|
|
212
|
-
| `python_version` | `str` | `"3.
|
|
212
|
+
| `python_version` | `str` | `"3.13"` | Target Python version |
|
|
213
213
|
| `line_length` | `int` | `120` | Maximum line length |
|
|
214
214
|
| `strict` | `bool` | `True` | Enable strict mode |
|
|
215
215
|
| `coverage_threshold` | `int` | `80` | Minimum coverage % |
|
|
@@ -303,7 +303,7 @@ baseline_python_project(
|
|
|
303
303
|
|
|
304
304
|
```toml
|
|
305
305
|
[GLOBAL]
|
|
306
|
-
pants_version = "2.
|
|
306
|
+
pants_version = "2.30.1"
|
|
307
307
|
backend_packages = [
|
|
308
308
|
"pants.backend.python",
|
|
309
309
|
"pants_baseline",
|
|
@@ -311,10 +311,10 @@ backend_packages = [
|
|
|
311
311
|
plugins = ["jaymd96-pants-baseline==0.1.0"]
|
|
312
312
|
|
|
313
313
|
[python]
|
|
314
|
-
interpreter_constraints = ["CPython>=3.
|
|
314
|
+
interpreter_constraints = ["CPython>=3.13,<4"]
|
|
315
315
|
|
|
316
316
|
[python-baseline]
|
|
317
|
-
python_version = "3.
|
|
317
|
+
python_version = "3.13"
|
|
318
318
|
line_length = 120
|
|
319
319
|
coverage_threshold = 80
|
|
320
320
|
|
|
@@ -40,7 +40,7 @@ baseline_python_project(
|
|
|
40
40
|
name="my_project",
|
|
41
41
|
sources=["src/**/*.py"],
|
|
42
42
|
test_sources=["tests/**/*.py"],
|
|
43
|
-
python_version="3.
|
|
43
|
+
python_version="3.13",
|
|
44
44
|
line_length=120,
|
|
45
45
|
strict=True,
|
|
46
46
|
coverage_threshold=80,
|
|
@@ -76,7 +76,7 @@ pants baseline-audit ::
|
|
|
76
76
|
enabled = true
|
|
77
77
|
|
|
78
78
|
# Target Python version
|
|
79
|
-
python_version = "3.
|
|
79
|
+
python_version = "3.13"
|
|
80
80
|
|
|
81
81
|
# Maximum line length
|
|
82
82
|
line_length = 120
|
|
@@ -180,7 +180,7 @@ The `baseline_python_project` target supports the following fields:
|
|
|
180
180
|
|-------|------|---------|-------------|
|
|
181
181
|
| `sources` | `list[str]` | `["**/*.py"]` | Python source file patterns |
|
|
182
182
|
| `test_sources` | `list[str]` | `["tests/**/*.py"]` | Test file patterns |
|
|
183
|
-
| `python_version` | `str` | `"3.
|
|
183
|
+
| `python_version` | `str` | `"3.13"` | Target Python version |
|
|
184
184
|
| `line_length` | `int` | `120` | Maximum line length |
|
|
185
185
|
| `strict` | `bool` | `True` | Enable strict mode |
|
|
186
186
|
| `coverage_threshold` | `int` | `80` | Minimum coverage % |
|
|
@@ -274,7 +274,7 @@ baseline_python_project(
|
|
|
274
274
|
|
|
275
275
|
```toml
|
|
276
276
|
[GLOBAL]
|
|
277
|
-
pants_version = "2.
|
|
277
|
+
pants_version = "2.30.1"
|
|
278
278
|
backend_packages = [
|
|
279
279
|
"pants.backend.python",
|
|
280
280
|
"pants_baseline",
|
|
@@ -282,10 +282,10 @@ backend_packages = [
|
|
|
282
282
|
plugins = ["jaymd96-pants-baseline==0.1.0"]
|
|
283
283
|
|
|
284
284
|
[python]
|
|
285
|
-
interpreter_constraints = ["CPython>=3.
|
|
285
|
+
interpreter_constraints = ["CPython>=3.13,<4"]
|
|
286
286
|
|
|
287
287
|
[python-baseline]
|
|
288
|
-
python_version = "3.
|
|
288
|
+
python_version = "3.13"
|
|
289
289
|
line_length = 120
|
|
290
290
|
coverage_threshold = 80
|
|
291
291
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "jaymd96-pants-baseline"
|
|
7
|
-
|
|
7
|
+
dynamic = ["version"]
|
|
8
8
|
description = "Opinionated Python code quality baseline plugin for Pants build system"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "Apache-2.0"}
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/audit.py
RENAMED
|
@@ -49,14 +49,12 @@ async def run_baseline_audit(
|
|
|
49
49
|
console.print_stdout(f" Ignoring: {', '.join(uv_subsystem.audit_ignore_vulns)}")
|
|
50
50
|
console.print_stdout("")
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
ignore_vulns=tuple(uv_subsystem.audit_ignore_vulns),
|
|
57
|
-
output_format=uv_subsystem.output_format,
|
|
58
|
-
),
|
|
52
|
+
audit_request = UvAuditRequest(
|
|
53
|
+
lock_file=uv_subsystem.lock_file,
|
|
54
|
+
ignore_vulns=tuple(uv_subsystem.audit_ignore_vulns),
|
|
55
|
+
output_format=uv_subsystem.output_format,
|
|
59
56
|
)
|
|
57
|
+
result = await Get(AuditResult, {UvAuditRequest: audit_request})
|
|
60
58
|
|
|
61
59
|
if result.stdout:
|
|
62
60
|
console.print_stdout(result.stdout)
|
|
@@ -5,17 +5,10 @@ from __future__ import annotations
|
|
|
5
5
|
from dataclasses import dataclass
|
|
6
6
|
from typing import Iterable
|
|
7
7
|
|
|
8
|
-
from pants.engine.console import Console
|
|
9
|
-
from pants.engine.fs import Digest
|
|
10
|
-
from pants.engine.goal import Goal, GoalSubsystem
|
|
11
8
|
from pants.engine.process import FallibleProcessResult, Process
|
|
12
|
-
from pants.engine.rules import Get, collect_rules,
|
|
13
|
-
from pants.engine.target import Targets
|
|
9
|
+
from pants.engine.rules import Get, collect_rules, rule
|
|
14
10
|
from pants.util.logging import LogLevel
|
|
15
11
|
|
|
16
|
-
from pants_baseline.subsystems.baseline import BaselineSubsystem
|
|
17
|
-
from pants_baseline.subsystems.uv import UvSubsystem
|
|
18
|
-
|
|
19
12
|
|
|
20
13
|
@dataclass(frozen=True)
|
|
21
14
|
class AuditResult:
|
|
@@ -27,19 +20,6 @@ class AuditResult:
|
|
|
27
20
|
vulnerabilities_found: int
|
|
28
21
|
|
|
29
22
|
|
|
30
|
-
class AuditSubsystem(GoalSubsystem):
|
|
31
|
-
"""Subsystem for the audit goal."""
|
|
32
|
-
|
|
33
|
-
name = "baseline-audit"
|
|
34
|
-
help = "Run security audit on dependencies using uv."
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class Audit(Goal):
|
|
38
|
-
"""Goal to run security audit."""
|
|
39
|
-
|
|
40
|
-
subsystem_cls = AuditSubsystem
|
|
41
|
-
|
|
42
|
-
|
|
43
23
|
@dataclass(frozen=True)
|
|
44
24
|
class UvAuditRequest:
|
|
45
25
|
"""Request to run uv audit."""
|
|
@@ -72,7 +52,7 @@ async def run_uv_audit(
|
|
|
72
52
|
level=LogLevel.DEBUG,
|
|
73
53
|
)
|
|
74
54
|
|
|
75
|
-
result = await Get(FallibleProcessResult, Process
|
|
55
|
+
result = await Get(FallibleProcessResult, {Process: process})
|
|
76
56
|
|
|
77
57
|
stdout = result.stdout.decode()
|
|
78
58
|
stderr = result.stderr.decode()
|
|
@@ -93,43 +73,6 @@ async def run_uv_audit(
|
|
|
93
73
|
)
|
|
94
74
|
|
|
95
75
|
|
|
96
|
-
@goal_rule
|
|
97
|
-
async def run_audit_goal(
|
|
98
|
-
console: Console,
|
|
99
|
-
targets: Targets,
|
|
100
|
-
uv_subsystem: UvSubsystem,
|
|
101
|
-
baseline_subsystem: BaselineSubsystem,
|
|
102
|
-
) -> Audit:
|
|
103
|
-
"""Execute the security audit goal."""
|
|
104
|
-
if not baseline_subsystem.enabled or not uv_subsystem.audit_enabled:
|
|
105
|
-
console.print_stdout("Security audit is disabled.")
|
|
106
|
-
return Audit(exit_code=0)
|
|
107
|
-
|
|
108
|
-
console.print_stdout("Running security audit with uv...")
|
|
109
|
-
|
|
110
|
-
result = await Get(
|
|
111
|
-
AuditResult,
|
|
112
|
-
UvAuditRequest(
|
|
113
|
-
lock_file=uv_subsystem.lock_file,
|
|
114
|
-
ignore_vulns=tuple(uv_subsystem.audit_ignore_vulns),
|
|
115
|
-
output_format=uv_subsystem.output_format,
|
|
116
|
-
),
|
|
117
|
-
)
|
|
118
|
-
|
|
119
|
-
console.print_stdout(result.stdout)
|
|
120
|
-
if result.stderr:
|
|
121
|
-
console.print_stderr(result.stderr)
|
|
122
|
-
|
|
123
|
-
if result.vulnerabilities_found > 0:
|
|
124
|
-
console.print_stderr(
|
|
125
|
-
f"\nFound {result.vulnerabilities_found} vulnerabilities!"
|
|
126
|
-
)
|
|
127
|
-
else:
|
|
128
|
-
console.print_stdout("\nNo vulnerabilities found.")
|
|
129
|
-
|
|
130
|
-
return Audit(exit_code=result.exit_code)
|
|
131
|
-
|
|
132
|
-
|
|
133
76
|
def rules() -> Iterable:
|
|
134
77
|
"""Return all audit rules."""
|
|
135
78
|
return collect_rules()
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/fmt_rules.py
RENAMED
|
@@ -65,13 +65,11 @@ async def run_ruff_fmt(
|
|
|
65
65
|
)
|
|
66
66
|
|
|
67
67
|
# Get source files
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
sources_fields=[fs.sources for fs in field_sets],
|
|
72
|
-
for_sources_types=(BaselineSourcesField,),
|
|
73
|
-
),
|
|
68
|
+
source_files_request = SourceFilesRequest(
|
|
69
|
+
sources_fields=[fs.sources for fs in field_sets],
|
|
70
|
+
for_sources_types=(BaselineSourcesField,),
|
|
74
71
|
)
|
|
72
|
+
sources = await Get(SourceFiles, {SourceFilesRequest: source_files_request})
|
|
75
73
|
|
|
76
74
|
if not sources.files:
|
|
77
75
|
return FmtResult(
|
|
@@ -101,9 +99,9 @@ async def run_ruff_fmt(
|
|
|
101
99
|
level=LogLevel.DEBUG,
|
|
102
100
|
)
|
|
103
101
|
|
|
104
|
-
result = await Get(FallibleProcessResult, Process
|
|
102
|
+
result = await Get(FallibleProcessResult, {Process: process})
|
|
105
103
|
|
|
106
|
-
output_snapshot = await Get(Snapshot, Digest
|
|
104
|
+
output_snapshot = await Get(Snapshot, {Digest: result.output_digest})
|
|
107
105
|
|
|
108
106
|
return FmtResult(
|
|
109
107
|
input=sources.snapshot,
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/lint_rules.py
RENAMED
|
@@ -77,13 +77,11 @@ async def run_ruff_lint(
|
|
|
77
77
|
)
|
|
78
78
|
|
|
79
79
|
# Get source files
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
sources_fields=[fs.sources for fs in field_sets],
|
|
84
|
-
for_sources_types=(BaselineSourcesField,),
|
|
85
|
-
),
|
|
80
|
+
source_files_request = SourceFilesRequest(
|
|
81
|
+
sources_fields=[fs.sources for fs in field_sets],
|
|
82
|
+
for_sources_types=(BaselineSourcesField,),
|
|
86
83
|
)
|
|
84
|
+
sources = await Get(SourceFiles, {SourceFilesRequest: source_files_request})
|
|
87
85
|
|
|
88
86
|
if not sources.files:
|
|
89
87
|
return LintResult(
|
|
@@ -116,7 +114,7 @@ async def run_ruff_lint(
|
|
|
116
114
|
level=LogLevel.DEBUG,
|
|
117
115
|
)
|
|
118
116
|
|
|
119
|
-
result = await Get(FallibleProcessResult, Process
|
|
117
|
+
result = await Get(FallibleProcessResult, {Process: process})
|
|
120
118
|
|
|
121
119
|
return LintResult(
|
|
122
120
|
exit_code=result.exit_code,
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/test_rules.py
RENAMED
|
@@ -73,22 +73,18 @@ async def run_pytest(
|
|
|
73
73
|
)
|
|
74
74
|
|
|
75
75
|
# Get test source files
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
sources_fields=[fs.test_sources for fs in field_sets],
|
|
80
|
-
for_sources_types=(BaselineTestSourcesField,),
|
|
81
|
-
),
|
|
76
|
+
test_source_files_request = SourceFilesRequest(
|
|
77
|
+
sources_fields=[fs.test_sources for fs in field_sets],
|
|
78
|
+
for_sources_types=(BaselineTestSourcesField,),
|
|
82
79
|
)
|
|
80
|
+
test_sources = await Get(SourceFiles, {SourceFilesRequest: test_source_files_request})
|
|
83
81
|
|
|
84
82
|
# Get source files for coverage
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
sources_fields=[fs.sources for fs in field_sets],
|
|
89
|
-
for_sources_types=(BaselineSourcesField,),
|
|
90
|
-
),
|
|
83
|
+
source_files_request = SourceFilesRequest(
|
|
84
|
+
sources_fields=[fs.sources for fs in field_sets],
|
|
85
|
+
for_sources_types=(BaselineSourcesField,),
|
|
91
86
|
)
|
|
87
|
+
sources = await Get(SourceFiles, {SourceFilesRequest: source_files_request})
|
|
92
88
|
|
|
93
89
|
if not test_sources.files:
|
|
94
90
|
return TestResult(
|
|
@@ -132,7 +128,7 @@ async def run_pytest(
|
|
|
132
128
|
level=LogLevel.DEBUG,
|
|
133
129
|
)
|
|
134
130
|
|
|
135
|
-
result = await Get(FallibleProcessResult, Process
|
|
131
|
+
result = await Get(FallibleProcessResult, {Process: process})
|
|
136
132
|
|
|
137
133
|
return TestResult(
|
|
138
134
|
exit_code=result.exit_code,
|
|
@@ -82,13 +82,11 @@ async def run_ty_check(
|
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
# Get source files
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
sources_fields=[fs.sources for fs in field_sets],
|
|
89
|
-
for_sources_types=(BaselineSourcesField,),
|
|
90
|
-
),
|
|
85
|
+
source_files_request = SourceFilesRequest(
|
|
86
|
+
sources_fields=[fs.sources for fs in field_sets],
|
|
87
|
+
for_sources_types=(BaselineSourcesField,),
|
|
91
88
|
)
|
|
89
|
+
sources = await Get(SourceFiles, {SourceFilesRequest: source_files_request})
|
|
92
90
|
|
|
93
91
|
if not sources.files:
|
|
94
92
|
return CheckResults(
|
|
@@ -123,7 +121,7 @@ async def run_ty_check(
|
|
|
123
121
|
level=LogLevel.DEBUG,
|
|
124
122
|
)
|
|
125
123
|
|
|
126
|
-
result = await Get(FallibleProcessResult, Process
|
|
124
|
+
result = await Get(FallibleProcessResult, {Process: process})
|
|
127
125
|
|
|
128
126
|
return CheckResults(
|
|
129
127
|
results=[
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/ruff.py
RENAMED
|
@@ -13,8 +13,8 @@ class RuffSubsystem(Subsystem):
|
|
|
13
13
|
It replaces Black, isort, Flake8, and many other tools in a single binary.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
options_scope = "ruff"
|
|
17
|
-
help = "Ruff linting and formatting configuration."
|
|
16
|
+
options_scope = "baseline-ruff"
|
|
17
|
+
help = "Ruff linting and formatting configuration for baseline plugin."
|
|
18
18
|
|
|
19
19
|
version = StrOption(
|
|
20
20
|
default="0.2.0",
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/ty.py
RENAMED
|
@@ -20,8 +20,8 @@ class TySubsystem(Subsystem):
|
|
|
20
20
|
- Rust implementation with obsessive performance focus
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
|
-
options_scope = "ty"
|
|
24
|
-
help = "ty type checker configuration (Astral's next-gen type checker)."
|
|
23
|
+
options_scope = "baseline-ty"
|
|
24
|
+
help = "ty type checker configuration for baseline plugin (Astral's next-gen type checker)."
|
|
25
25
|
|
|
26
26
|
version = StrOption(
|
|
27
27
|
default="0.1.0",
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/subsystems/uv.py
RENAMED
|
@@ -18,8 +18,8 @@ class UvSubsystem(Subsystem):
|
|
|
18
18
|
- Virtual environment management
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
-
options_scope = "uv"
|
|
22
|
-
help = "uv dependency management and security auditing configuration."
|
|
21
|
+
options_scope = "baseline-uv"
|
|
22
|
+
help = "uv dependency management and security auditing configuration for baseline plugin."
|
|
23
23
|
|
|
24
24
|
version = StrOption(
|
|
25
25
|
default="0.5.0",
|
|
File without changes
|
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/__init__.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/__init__.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/fmt.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/lint.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/test.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/goals/typecheck.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/register.py
RENAMED
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/src/pants_baseline/rules/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{jaymd96_pants_baseline-0.1.0 → jaymd96_pants_baseline-0.1.2}/tests/integration/test_goals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|