code-standards 7.0.0__py3-none-any.whl
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.
- code_standards-7.0.0.dist-info/METADATA +53 -0
- code_standards-7.0.0.dist-info/RECORD +99 -0
- code_standards-7.0.0.dist-info/WHEEL +4 -0
- code_standards-7.0.0.dist-info/entry_points.txt +3 -0
- code_standards-7.0.0.dist-info/licenses/LICENSE +21 -0
- sarj_standards/__init__.py +30 -0
- sarj_standards/__main__.py +5 -0
- sarj_standards/_meta.py +22 -0
- sarj_standards/api.py +890 -0
- sarj_standards/cli/__init__.py +0 -0
- sarj_standards/cli/main.py +2466 -0
- sarj_standards/configs/cli-reference.v1.json +1 -0
- sarj_standards/configs/doctor.config.json +22 -0
- sarj_standards/configs/eslint.application.mjs +1366 -0
- sarj_standards/configs/eslint.peers.json +44 -0
- sarj_standards/configs/eslint.strict.mjs +1060 -0
- sarj_standards/configs/markdownlint.strict.yaml +12 -0
- sarj_standards/configs/pyright.strict.json +96 -0
- sarj_standards/configs/ruff.application.toml +363 -0
- sarj_standards/configs/ruff.strict.toml +338 -0
- sarj_standards/configs/rule-inventory.v1.json +1 -0
- sarj_standards/configs/rule-ledger.json +846 -0
- sarj_standards/configs/rule-warning-levels.v1.json +1 -0
- sarj_standards/configs/taplo.strict.toml +14 -0
- sarj_standards/configs/yamllint.strict.yaml +25 -0
- sarj_standards/libs/__init__.py +0 -0
- sarj_standards/libs/adoption/__init__.py +0 -0
- sarj_standards/libs/adoption/configs.py +36 -0
- sarj_standards/libs/adoption/doctor.py +1346 -0
- sarj_standards/libs/adoption/exclusions.py +66 -0
- sarj_standards/libs/adoption/hooks.py +423 -0
- sarj_standards/libs/adoption/launcher.py +240 -0
- sarj_standards/libs/adoption/lifecycle.py +493 -0
- sarj_standards/libs/adoption/manifest.py +550 -0
- sarj_standards/libs/adoption/packagemanager.py +285 -0
- sarj_standards/libs/adoption/retired_suppressions.py +371 -0
- sarj_standards/libs/adoption/scaffold.py +1660 -0
- sarj_standards/libs/adoption/service.py +441 -0
- sarj_standards/libs/adoption/transaction.py +274 -0
- sarj_standards/libs/adoption/upgrade.py +516 -0
- sarj_standards/libs/adoption/uvtool.py +62 -0
- sarj_standards/libs/catalogs/__init__.py +9 -0
- sarj_standards/libs/catalogs/slack_automations.py +627 -0
- sarj_standards/libs/corpus/__init__.py +25 -0
- sarj_standards/libs/corpus/manifest.py +211 -0
- sarj_standards/libs/corpus/snapshot.py +222 -0
- sarj_standards/libs/diagnostics/__init__.py +65 -0
- sarj_standards/libs/diagnostics/analysis.schema.json +161 -0
- sarj_standards/libs/diagnostics/baseline.py +131 -0
- sarj_standards/libs/diagnostics/models.py +574 -0
- sarj_standards/libs/diagnostics/serialize.py +290 -0
- sarj_standards/libs/diagnostics/source.py +172 -0
- sarj_standards/libs/filesystem.py +11 -0
- sarj_standards/libs/linting/__init__.py +0 -0
- sarj_standards/libs/linting/analysis.py +422 -0
- sarj_standards/libs/linting/external.py +1454 -0
- sarj_standards/libs/linting/library_policy.py +688 -0
- sarj_standards/libs/linting/policy.py +152 -0
- sarj_standards/libs/linting/runner.py +442 -0
- sarj_standards/libs/linting/textlint.py +1605 -0
- sarj_standards/libs/release/__init__.py +98 -0
- sarj_standards/libs/release/_values.py +24 -0
- sarj_standards/libs/release/artifacts.py +191 -0
- sarj_standards/libs/release/causality.py +80 -0
- sarj_standards/libs/release/changes.py +48 -0
- sarj_standards/libs/release/process.py +128 -0
- sarj_standards/libs/release/publish.py +85 -0
- sarj_standards/libs/release/registry.py +271 -0
- sarj_standards/libs/release/release_age.py +218 -0
- sarj_standards/libs/release/rollout.py +1163 -0
- sarj_standards/libs/release/tags.py +373 -0
- sarj_standards/libs/release/typescript.py +191 -0
- sarj_standards/libs/repository/__init__.py +0 -0
- sarj_standards/libs/repository/cli_reference_artifact.py +324 -0
- sarj_standards/libs/repository/comment_corpus.py +536 -0
- sarj_standards/libs/repository/config_generation.py +146 -0
- sarj_standards/libs/repository/docs.py +347 -0
- sarj_standards/libs/repository/hooks.py +118 -0
- sarj_standards/libs/repository/ledger.py +99 -0
- sarj_standards/libs/repository/repository.py +744 -0
- sarj_standards/libs/repository/rule_authoring.py +246 -0
- sarj_standards/libs/repository/rule_catalog_artifact.py +479 -0
- sarj_standards/libs/repository/rule_changes.py +318 -0
- sarj_standards/libs/repository/rule_inventory_artifact.py +142 -0
- sarj_standards/libs/repository/rule_lifecycle.py +167 -0
- sarj_standards/libs/repository/rule_maintenance.py +225 -0
- sarj_standards/libs/rules/__init__.py +74 -0
- sarj_standards/libs/rules/catalog.py +145 -0
- sarj_standards/libs/rules/contracts.py +382 -0
- sarj_standards/libs/rules/corpus_runner.py +365 -0
- sarj_standards/libs/rules/evaluation.py +177 -0
- sarj_standards/libs/setup/__init__.py +4 -0
- sarj_standards/libs/setup/repository.py +40 -0
- sarj_standards/py.typed +0 -0
- sarj_standards/schemas/__init__.py +4 -0
- sarj_standards/schemas/_paths.py +7 -0
- sarj_standards/schemas/rule-catalog.v1.json +1 -0
- sarj_standards/schemas/rule-catalog.v1.schema.json +112 -0
- sarj_standards/schemas/slack-automations.v1.schema.json +1751 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: code-standards
|
|
3
|
+
Version: 7.0.0
|
|
4
|
+
Summary: One deterministic quality gate for Sarj Python, TypeScript, SQL, IaC, and repository policy.
|
|
5
|
+
Project-URL: Homepage, https://code-standards.sarj.ai/
|
|
6
|
+
Project-URL: Documentation, https://code-standards.sarj.ai/cli/
|
|
7
|
+
Project-URL: Changelog, https://github.com/sarj-ai/code-standards/releases
|
|
8
|
+
Project-URL: Repository, https://github.com/sarj-ai/code-standards
|
|
9
|
+
Project-URL: Issues, https://github.com/sarj-ai/code-standards/issues
|
|
10
|
+
Author: sarj-ai
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
19
|
+
Requires-Python: >=3.14
|
|
20
|
+
Requires-Dist: basedpyright==1.39.10
|
|
21
|
+
Requires-Dist: lefthook==2.1.10
|
|
22
|
+
Requires-Dist: packaging==26.3
|
|
23
|
+
Requires-Dist: pathspec==1.1.1
|
|
24
|
+
Requires-Dist: pre-commit==4.6.2
|
|
25
|
+
Requires-Dist: pydantic==2.13.4
|
|
26
|
+
Requires-Dist: pyyaml==6.0.3
|
|
27
|
+
Requires-Dist: ruff==0.16.3
|
|
28
|
+
Requires-Dist: sarj-iac-lint==0.14.3
|
|
29
|
+
Requires-Dist: sarj-python-lint==0.77.1
|
|
30
|
+
Requires-Dist: sarj-sql-lint==0.16.1
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<!-- Generated by `code-standards maintain docs sync`; do not edit. -->
|
|
34
|
+
|
|
35
|
+
# code-standards
|
|
36
|
+
|
|
37
|
+
One deterministic quality gate for Sarj Python, TypeScript, SQL, IaC, and repository policy.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
uv tool install --python 3.14 code-standards
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Use it from pre-commit with a coding agent so violations are flagged and fixed before commit.
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
code-standards setup
|
|
47
|
+
code-standards check
|
|
48
|
+
code-standards fix
|
|
49
|
+
code-standards doctor
|
|
50
|
+
code-standards update
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
[Documentation](https://code-standards.sarj.ai/) · [Source](https://github.com/sarj-ai/code-standards)
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
sarj_standards/__init__.py,sha256=72ffbrOyhZi9MYvYPtYAQZCJImUO4RrfH1TwhkIcLhw,447
|
|
2
|
+
sarj_standards/__main__.py,sha256=5gh4Nf6QFfsbAl_ckTzLxH7PzUZ7du3BiFBWL3tnVSo,99
|
|
3
|
+
sarj_standards/_meta.py,sha256=99goeudFmfE4aumnjSTiQjUqnJEMVr5UvyTrjrEtYuc,879
|
|
4
|
+
sarj_standards/api.py,sha256=gCA4IqDRORgEokRy3TKIV_DZiztKFe7dR-v8N6G9oIQ,34125
|
|
5
|
+
sarj_standards/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
sarj_standards/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
sarj_standards/cli/main.py,sha256=FFMiBnOHDK7bP9Dg3FX3w5mKsVN6rZAa3Vr6KsR-5OA,102947
|
|
8
|
+
sarj_standards/configs/cli-reference.v1.json,sha256=hfgjt2XhukGC2jjOwkmS-s6q4xGidDToUDq-cWZ-1aI,41460
|
|
9
|
+
sarj_standards/configs/doctor.config.json,sha256=TIb4CPdL8axuD90pL1bJwIklMduqSQptdabZf03ldxM,476
|
|
10
|
+
sarj_standards/configs/eslint.application.mjs,sha256=_Iu3ihILNoAXOnzaNQJ1AfHD0M28-mtFhvR_BVI01G0,67801
|
|
11
|
+
sarj_standards/configs/eslint.peers.json,sha256=vuaa2RSuRptGrMeB84rvc4BoIHHeQI2MMfcNIaBkwpE,2045
|
|
12
|
+
sarj_standards/configs/eslint.strict.mjs,sha256=Ttqz6SakJg2y__K3C4w9qOiU2lkTxuw8rDhZgPvoVgc,47478
|
|
13
|
+
sarj_standards/configs/markdownlint.strict.yaml,sha256=cBO3bBS4arTB9qnOlAO0e_aZnv3t0bbHWiN-Uljyc5s,614
|
|
14
|
+
sarj_standards/configs/pyright.strict.json,sha256=4oS4saWLsXqBdml0rHQ34ohAl9EqUVr0CFX7NfdSFE8,4847
|
|
15
|
+
sarj_standards/configs/ruff.application.toml,sha256=_sxIRB20U-qpOBaUEnA3qDhiKZXcxKC39PvJ4PdPRzY,16834
|
|
16
|
+
sarj_standards/configs/ruff.strict.toml,sha256=SR4EialUxybxtmtX7zcH77get0KLi9j8qEGz1-03O34,14122
|
|
17
|
+
sarj_standards/configs/rule-inventory.v1.json,sha256=XrHPGpHOMAlUH3nYOlEFWlhaIngkAOiwW9TSVzgh1VQ,45342
|
|
18
|
+
sarj_standards/configs/rule-ledger.json,sha256=vZbv_ThlQw-3tmXRFoD14TqfTwxhpdgfL3OPPPigmVs,29628
|
|
19
|
+
sarj_standards/configs/rule-warning-levels.v1.json,sha256=fRIX33UX3UwLGlnkmlgDZ9Z7Ex353TDJrgA2I43I3Vg,1563
|
|
20
|
+
sarj_standards/configs/taplo.strict.toml,sha256=6ZbpWEAY9Ie8vEHckNvJSi7yWGMRuXR8TrOGyL9edqg,364
|
|
21
|
+
sarj_standards/configs/yamllint.strict.yaml,sha256=KMjj75YyBX-YTnrpN8fGcxXBOAK0LVVfQV0CzZ_URAg,613
|
|
22
|
+
sarj_standards/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
+
sarj_standards/libs/filesystem.py,sha256=M8MoHoh4UQhweHz9uFAc9djqYNDko41tIBMvjGsChJo,209
|
|
24
|
+
sarj_standards/libs/adoption/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
+
sarj_standards/libs/adoption/configs.py,sha256=-1ItLDmF4K97VVWC-ySpQK6w_RGCwe7O4LXqNc1NQkY,1265
|
|
26
|
+
sarj_standards/libs/adoption/doctor.py,sha256=EX0e4DYag-NS69OJtZwVQPklWC963vltxgYsKqUA2Hg,52882
|
|
27
|
+
sarj_standards/libs/adoption/exclusions.py,sha256=f1MCcL3Y608WLeASqTaT9osJekB-s4FEqBh4ZspEtRk,2201
|
|
28
|
+
sarj_standards/libs/adoption/hooks.py,sha256=0ILUCOCjyFFVAsPCCTFpqaudB-WcZXsD8VsDLU0v4r8,16736
|
|
29
|
+
sarj_standards/libs/adoption/launcher.py,sha256=ciH4b-fWgofpKKIaJ7Q40oJrS476CUKFwBvRBqi4ACU,8640
|
|
30
|
+
sarj_standards/libs/adoption/lifecycle.py,sha256=OwPbIwNW4i3subFYWfwc4D6QYkowFwU1di70Cs15qyM,18336
|
|
31
|
+
sarj_standards/libs/adoption/manifest.py,sha256=6m2BJa95Mmb0mWarxGQGUzuStlqoqIBRjllDsOcATxM,22204
|
|
32
|
+
sarj_standards/libs/adoption/packagemanager.py,sha256=5cGTjlUtgmyz8729QMZLfJAlOt0poGzdHa2PohMX7es,10559
|
|
33
|
+
sarj_standards/libs/adoption/retired_suppressions.py,sha256=wFCyOh3RKYLA-YZHqXhKQVH_MQWpOhR8lhL4c7Q25L8,13557
|
|
34
|
+
sarj_standards/libs/adoption/scaffold.py,sha256=pErj-2yAfcjXQ7YAwLLlRhtHsV4Mo0QT_giZoGW-qRU,70188
|
|
35
|
+
sarj_standards/libs/adoption/service.py,sha256=W32yEp9PUSnemTOW7it9RVaH3GcJB6QXgUUpSnHNee4,16562
|
|
36
|
+
sarj_standards/libs/adoption/transaction.py,sha256=X2jTTkXZUxx0Tb2m6EK7VNcxLhThUq2sf0wMOHtVBuk,9141
|
|
37
|
+
sarj_standards/libs/adoption/upgrade.py,sha256=Lrnw6pGtlwA4D-IVpynSGkhH9EkvANdZcULJ-iJu68Q,21083
|
|
38
|
+
sarj_standards/libs/adoption/uvtool.py,sha256=4vWf7TwzETZGkzeyln7H1vsLGawzJV2lpiQE7j4Dzlc,1806
|
|
39
|
+
sarj_standards/libs/catalogs/__init__.py,sha256=ctWbOO0y7kbZu_yoN4Cq4pytj3pbO6lgERyzsmenWTk,236
|
|
40
|
+
sarj_standards/libs/catalogs/slack_automations.py,sha256=hlO4Izbnphqa8G7e9JiYIMvD72IkoB_5HASUyXopyC4,23343
|
|
41
|
+
sarj_standards/libs/corpus/__init__.py,sha256=2G7XuaCIx5OCv_WXZmfncIHyMVlGh0CgDmzZqQQGoJc,485
|
|
42
|
+
sarj_standards/libs/corpus/manifest.py,sha256=gv6Wty4L4gkLwoxitXLhlXurASmiqJ5c-i0MY5KAqbw,8026
|
|
43
|
+
sarj_standards/libs/corpus/snapshot.py,sha256=9_vrNjkBkdrmMmrf9EpYjQmDyzvpsStgys5348rSqFc,8303
|
|
44
|
+
sarj_standards/libs/diagnostics/__init__.py,sha256=hE4iXnP9rYeRwk_sEVBl78N0zGdr3QOGsTe1kXPXGUU,1189
|
|
45
|
+
sarj_standards/libs/diagnostics/analysis.schema.json,sha256=6zbL1dWjKY6YEBnKJCzXP8Po2qJAQY8Dvt-eI3nhjeo,6303
|
|
46
|
+
sarj_standards/libs/diagnostics/baseline.py,sha256=C_lv7MKY8APe9GDZ9EMSGOkEL1nn5QrG6Gy10TXb7cY,4790
|
|
47
|
+
sarj_standards/libs/diagnostics/models.py,sha256=ffn7_Hvmybi_uvYj6RKeSSpK3SqFEX14GriaNylznGQ,20947
|
|
48
|
+
sarj_standards/libs/diagnostics/serialize.py,sha256=2gMBY7dp6zMeurdmADHlEZMO9qFmbEliWptbBr38RpA,11588
|
|
49
|
+
sarj_standards/libs/diagnostics/source.py,sha256=0NffzidPjefxDbQJ6o82H4spImvUh0LcZs50R8QL3Yo,7028
|
|
50
|
+
sarj_standards/libs/linting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
|
+
sarj_standards/libs/linting/analysis.py,sha256=tkllSUwkr953Eebp0H1PMOl7ivDJOU6Hqs5uSzan1fI,13933
|
|
52
|
+
sarj_standards/libs/linting/external.py,sha256=tDs32W93zvs7JvSX4RRtMk4-ZHjLRvUszSi5v4Cxjh0,52806
|
|
53
|
+
sarj_standards/libs/linting/library_policy.py,sha256=LkHXB0xybAmQ4QL2a7fDvTpdFhV7qx7K58gAfo-VnRA,22744
|
|
54
|
+
sarj_standards/libs/linting/policy.py,sha256=Uas_DKBI0zpuPWo10COrmEed2GHFizA_v_KgmaXoj24,5596
|
|
55
|
+
sarj_standards/libs/linting/runner.py,sha256=BfKv_Qbvxc9jvpkx9QFOeAoeeNaG8pCZ5Tap2wHhmWk,13487
|
|
56
|
+
sarj_standards/libs/linting/textlint.py,sha256=5EYqdTB0P_J45USaW9KJTOeyeA3QB01lPQvWt5EZOAM,64542
|
|
57
|
+
sarj_standards/libs/release/__init__.py,sha256=ujiOXOmLTTEtOP_yFCPwR4wu-G5Mzcd-HC3vLWINNu8,2576
|
|
58
|
+
sarj_standards/libs/release/_values.py,sha256=Twz3TzdyJJatEOnqR8nHUF8rQl2IIfEbkfnvcivCgO4,700
|
|
59
|
+
sarj_standards/libs/release/artifacts.py,sha256=CnF6e9tl9K1pM1QbnQ7AegDLLkYe-eOfI2uJ6ep72aA,7912
|
|
60
|
+
sarj_standards/libs/release/causality.py,sha256=JpHm0-uj8RRbbyvkIU8FuG-EXzq0KFQge7nOQhePHfI,2519
|
|
61
|
+
sarj_standards/libs/release/changes.py,sha256=_K1BmnhZz6M2FpDOMwNkBHW6ybbYqWl2qubKlzSP86Q,1504
|
|
62
|
+
sarj_standards/libs/release/process.py,sha256=zaD-FmzcwUbQXSSHAevmZ4dBwYopB6K3loNMfLRFYXE,4068
|
|
63
|
+
sarj_standards/libs/release/publish.py,sha256=QHcNQdwpRlt7hSCtNhxoVald-cgDtADD1TLpBaGgHi0,3649
|
|
64
|
+
sarj_standards/libs/release/registry.py,sha256=W8W3JVwX3IbuuEpNxi1ia_VEMcWOrwe3txENTVfqyVw,10265
|
|
65
|
+
sarj_standards/libs/release/release_age.py,sha256=MB9dNGQxQRer9AjEXYIjW04zOQ-LQWWQVREEw6BQ9TQ,8265
|
|
66
|
+
sarj_standards/libs/release/rollout.py,sha256=NVAfDc3YNFFuAXqWdke0nthfC-Ibg21mb8oBg0NjhOI,45214
|
|
67
|
+
sarj_standards/libs/release/tags.py,sha256=ED47aVucZGuQsLa820wMaDnbNAt5OI8RWPJjoKCPNVs,13251
|
|
68
|
+
sarj_standards/libs/release/typescript.py,sha256=3f8dYIpPsSaS2qocxfwUsD5ChM18ivX2H2YyIpZMoRU,6488
|
|
69
|
+
sarj_standards/libs/repository/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
|
+
sarj_standards/libs/repository/cli_reference_artifact.py,sha256=s496JINKJV_cV02_3VV2BTEIOmJ4eQgCsKHnCPS2k_c,10831
|
|
71
|
+
sarj_standards/libs/repository/comment_corpus.py,sha256=AovIzifmHy2YyYD4fDpCD_iGiweUbqgwGf7yuYCagQA,19231
|
|
72
|
+
sarj_standards/libs/repository/config_generation.py,sha256=PEENDxvAfx0ycdTjHkL07yxqw0esXTZMKcSHou0B8VI,5515
|
|
73
|
+
sarj_standards/libs/repository/docs.py,sha256=j9vB4ERFfP8QV6Sl2Fy9dVAmF1XYq1TOAx7rn9MQdbA,14074
|
|
74
|
+
sarj_standards/libs/repository/hooks.py,sha256=ay7GpBq2yhw7b9TfPrvIKPBagQ8dsOcMmitEzYjojus,4595
|
|
75
|
+
sarj_standards/libs/repository/ledger.py,sha256=rbZOCT1qQ2OJV4Xodu2zBE2pwCi9zZDA58vgN30qC-o,3134
|
|
76
|
+
sarj_standards/libs/repository/repository.py,sha256=PklVqV40wHYNwQbkGk-NyPgwXI0mxerC1T6whqINyqQ,29005
|
|
77
|
+
sarj_standards/libs/repository/rule_authoring.py,sha256=jRdTZvHVpYxuM35CGdLk8s1RjmLjyNKz6du7B9nsVBc,10262
|
|
78
|
+
sarj_standards/libs/repository/rule_catalog_artifact.py,sha256=IMjiKARB3TloM9EZ27uL226lrGavHuR3FQuBKgUQ-2o,17256
|
|
79
|
+
sarj_standards/libs/repository/rule_changes.py,sha256=C5eAKKkxSFymaGYVQ5gnFT9Stotrgk8lz2f7v3dRnN8,11999
|
|
80
|
+
sarj_standards/libs/repository/rule_inventory_artifact.py,sha256=hplglBUTe0T5C-vzIL6_HzIOxlQZmYtUu8RtuYtLS34,4896
|
|
81
|
+
sarj_standards/libs/repository/rule_lifecycle.py,sha256=HN47BNZFX_C2ob89etc-0CHDbFNH8jE2rxng4qhqA8E,6598
|
|
82
|
+
sarj_standards/libs/repository/rule_maintenance.py,sha256=9dY7NW-A6jyApKApj2j9ykZwjLUWypcnDD5tW0lMsdc,8298
|
|
83
|
+
sarj_standards/libs/rules/__init__.py,sha256=XI2FkmsvsvbNY6EmR2mojjvne3A-Al4bh7dGWn8WMf8,1422
|
|
84
|
+
sarj_standards/libs/rules/catalog.py,sha256=XK7EZiWT64Et-a54LKEJ7Lird0FM0BkFnr5dgHFK_iU,5444
|
|
85
|
+
sarj_standards/libs/rules/contracts.py,sha256=2CoxmS3IrMJhbS_ag_EWyAZ5VQkE-7o9AHkBKmqz25M,13727
|
|
86
|
+
sarj_standards/libs/rules/corpus_runner.py,sha256=DjZ9vO-ZdwUZFK2pMpGl_aEAR7WSZKShuVE2ALiNrug,12923
|
|
87
|
+
sarj_standards/libs/rules/evaluation.py,sha256=d9egMgl2I_ZCU0wz555WLZl49hRVY_APrwgU98FYec0,6143
|
|
88
|
+
sarj_standards/libs/setup/__init__.py,sha256=xP303T_yVaqYsIEssQU9iV-G4ZIbLa-D_rAhvQTHKq0,114
|
|
89
|
+
sarj_standards/libs/setup/repository.py,sha256=35KgxznACKjLziIQNgCsrJlC0r94sCboLwrZFSKWJH0,1220
|
|
90
|
+
sarj_standards/schemas/__init__.py,sha256=139Rj_SwHTeCvPNI68v-JvD1PcZQlRG3kUQp6KvDY4s,134
|
|
91
|
+
sarj_standards/schemas/_paths.py,sha256=GEtU5UoxLQxr-h7k5P8uqs1NuV26GkU_2kHlNiQ-DiI,267
|
|
92
|
+
sarj_standards/schemas/rule-catalog.v1.json,sha256=oowfbnzvFkpqKISybDCE3xmFGf0z8PFefc69hTZD-SA,355680
|
|
93
|
+
sarj_standards/schemas/rule-catalog.v1.schema.json,sha256=VdW6icJjIh_tWBHfidS3saEx8m2DsL9f48kIc87fQ1w,4130
|
|
94
|
+
sarj_standards/schemas/slack-automations.v1.schema.json,sha256=_ac7Ks8Jf4sOQzzgJ8GEenDKfhDkNFOrJtWKGwSBc2o,50365
|
|
95
|
+
code_standards-7.0.0.dist-info/METADATA,sha256=OFRVd4DfvDpOm_WGveFrMFp2W8gwiYFdvYZrbSMoGQg,1845
|
|
96
|
+
code_standards-7.0.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
97
|
+
code_standards-7.0.0.dist-info/entry_points.txt,sha256=fz2FaSTnDZEhysF-xeW3WECQEFFffx22IxPeql1Kt0w,110
|
|
98
|
+
code_standards-7.0.0.dist-info/licenses/LICENSE,sha256=P5CkUcOpgFoVcqF9wGgPlOW87-77SD7aKu34KB-pa18,1064
|
|
99
|
+
code_standards-7.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 sarj-ai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from sarj_standards._meta import __version__
|
|
2
|
+
from sarj_standards.api import (
|
|
3
|
+
AnalysisReport,
|
|
4
|
+
Change,
|
|
5
|
+
Diagnostic,
|
|
6
|
+
Finding,
|
|
7
|
+
Result,
|
|
8
|
+
Standards,
|
|
9
|
+
Status,
|
|
10
|
+
to_github,
|
|
11
|
+
to_json,
|
|
12
|
+
to_sarif,
|
|
13
|
+
to_text,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"AnalysisReport",
|
|
19
|
+
"Change",
|
|
20
|
+
"Diagnostic",
|
|
21
|
+
"Finding",
|
|
22
|
+
"Result",
|
|
23
|
+
"Standards",
|
|
24
|
+
"Status",
|
|
25
|
+
"__version__",
|
|
26
|
+
"to_github",
|
|
27
|
+
"to_json",
|
|
28
|
+
"to_sarif",
|
|
29
|
+
"to_text",
|
|
30
|
+
]
|
sarj_standards/_meta.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = version("code-standards")
|
|
9
|
+
except PackageNotFoundError: # running from an uninstalled source tree
|
|
10
|
+
__version__ = "0.0.0.dev0"
|
|
11
|
+
|
|
12
|
+
CONFIGS_DIR: Path = Path(__file__).resolve().parent / "configs"
|
|
13
|
+
|
|
14
|
+
RUFF_STRICT: Path = CONFIGS_DIR / "ruff.strict.toml"
|
|
15
|
+
RUFF_APPLICATION: Path = CONFIGS_DIR / "ruff.application.toml"
|
|
16
|
+
PYRIGHT_STRICT: Path = CONFIGS_DIR / "pyright.strict.json"
|
|
17
|
+
ESLINT_STRICT: Path = CONFIGS_DIR / "eslint.strict.mjs"
|
|
18
|
+
ESLINT_APPLICATION: Path = CONFIGS_DIR / "eslint.application.mjs"
|
|
19
|
+
MARKDOWNLINT_STRICT: Path = CONFIGS_DIR / "markdownlint.strict.yaml"
|
|
20
|
+
ESLINT_PEERS: Path = CONFIGS_DIR / "eslint.peers.json"
|
|
21
|
+
TAPLO_STRICT: Path = CONFIGS_DIR / "taplo.strict.toml"
|
|
22
|
+
YAMLLINT_STRICT: Path = CONFIGS_DIR / "yamllint.strict.yaml"
|