dotless 1.0.0__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.
- dotless-1.0.0/.pre-commit-hooks.yaml +6 -0
- dotless-1.0.0/CHANGELOG.md +32 -0
- dotless-1.0.0/LICENSE +674 -0
- dotless-1.0.0/MANIFEST.in +3 -0
- dotless-1.0.0/PKG-INFO +278 -0
- dotless-1.0.0/README.md +242 -0
- dotless-1.0.0/pyproject.toml +60 -0
- dotless-1.0.0/setup.cfg +4 -0
- dotless-1.0.0/src/dotless/__init__.py +3 -0
- dotless-1.0.0/src/dotless/__main__.py +3 -0
- dotless-1.0.0/src/dotless/analysis.py +350 -0
- dotless-1.0.0/src/dotless/cli.py +173 -0
- dotless-1.0.0/src/dotless/config.py +91 -0
- dotless-1.0.0/src/dotless/formats.py +148 -0
- dotless-1.0.0/src/dotless/lexer.py +286 -0
- dotless-1.0.0/src/dotless/rules.py +127 -0
- dotless-1.0.0/src/dotless/runtime.py +132 -0
- dotless-1.0.0/src/dotless/scanner.py +418 -0
- dotless-1.0.0/src/dotless.egg-info/PKG-INFO +278 -0
- dotless-1.0.0/src/dotless.egg-info/SOURCES.txt +37 -0
- dotless-1.0.0/src/dotless.egg-info/dependency_links.txt +1 -0
- dotless-1.0.0/src/dotless.egg-info/entry_points.txt +2 -0
- dotless-1.0.0/src/dotless.egg-info/requires.txt +3 -0
- dotless-1.0.0/src/dotless.egg-info/top_level.txt +1 -0
- dotless-1.0.0/tests/fixtures/c/bad.c +90 -0
- dotless-1.0.0/tests/fixtures/c/safe.c +67 -0
- dotless-1.0.0/tests/fixtures/js/bad.js +27 -0
- dotless-1.0.0/tests/fixtures/js/safe.js +30 -0
- dotless-1.0.0/tests/fixtures/python/bad.py +25 -0
- dotless-1.0.0/tests/fixtures/python/safe.py +28 -0
- dotless-1.0.0/tests/fixtures/rust/bad.rs +17 -0
- dotless-1.0.0/tests/fixtures/rust/safe.rs +19 -0
- dotless-1.0.0/tests/fixtures/vala/bad.vala +30 -0
- dotless-1.0.0/tests/fixtures/vala/safe.vala +23 -0
- dotless-1.0.0/tests/test_cli.py +174 -0
- dotless-1.0.0/tests/test_formats.py +69 -0
- dotless-1.0.0/tests/test_robustness.py +41 -0
- dotless-1.0.0/tests/test_rules.py +119 -0
- dotless-1.0.0/tests/test_runtime.py +50 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file. The format
|
|
4
|
+
is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the
|
|
5
|
+
project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [1.0.0] - 2026-11-04
|
|
8
|
+
|
|
9
|
+
First release.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- `dotless scan` for C/C++, Vala, Python, JavaScript (gjs) and Rust, with a
|
|
14
|
+
lexer that ignores comments and string contents.
|
|
15
|
+
- Nine rules (DL001–DL009), each backed by measurements under `C.UTF-8`,
|
|
16
|
+
`tr_TR.UTF-8`, `az_AZ.UTF-8` and `tr_TR.ISO-8859-9` on glibc
|
|
17
|
+
(`docs/research.md`).
|
|
18
|
+
- Severity analysis: **high** when the result is compared with an ASCII
|
|
19
|
+
constant containing the affected letter, or used as a lookup key; findings
|
|
20
|
+
that compare only with constants without i/I are not reported.
|
|
21
|
+
- Output formats: text, JSON, SARIF 2.1.0 and GitLab Code Quality.
|
|
22
|
+
- `[tool.dotless]` configuration in `pyproject.toml` (`exclude`,
|
|
23
|
+
`min-severity`, `disable`; Python 3.11+).
|
|
24
|
+
- `--disable`, `--color`, `--force-exclude`, `--config`, `--no-config` and
|
|
25
|
+
`--exit-zero` options; exit status 0/1/2.
|
|
26
|
+
- Inline suppression with `dotless: ignore`, `dotless: ignore[RULE]` and
|
|
27
|
+
`dotless: ignore-file`.
|
|
28
|
+
- `dotless run -- COMMAND` to compare a program's output under Turkish and
|
|
29
|
+
Azerbaijani locales with `C.UTF-8`.
|
|
30
|
+
- pre-commit hook, GitLab CI template and GitHub Actions example.
|
|
31
|
+
|
|
32
|
+
[1.0.0]: https://gitlab.com/rehimovv/dotless/-/releases/v1.0.0
|