ruff/python/ruff-ecosystem/ruff_ecosystem
Zanie Blue f18e7d40ac
Add internal hidden rules for testing (#9747)
Updated implementation of https://github.com/astral-sh/ruff/pull/7369
which was left out in the cold.

This was motivated again following changes in #9691 and #9689 where we
could not test the changes without actually deprecating or removing
rules.

---

Follow-up to discussion in https://github.com/astral-sh/ruff/pull/7210

Moves integration tests from using rules that are transitively in
nursery / preview groups to dedicated test rules that only exist during
development. These rules always raise violations (they do not require
specific file behavior). The rules are not available in production or in
the documentation.

Uses features instead of `cfg(test)` for cross-crate support per
https://github.com/rust-lang/cargo/issues/8379
2024-02-01 08:44:51 -06:00
..
__init__.py Rewrite ecosystem checks and add `ruff format` reports (#8223) 2023-10-27 17:28:01 -05:00
__main__.py Rewrite ecosystem checks and add `ruff format` reports (#8223) 2023-10-27 17:28:01 -05:00
check.py Fix typo in truncation comment (#9318) 2023-12-29 21:40:12 -06:00
cli.py Add support for `ruff-ecosystem` format comparisons with `black` (#8419) 2023-11-02 01:29:25 +00:00
defaults.py Add jupyter notebooks to ecosystem checks (#9293) 2024-01-04 15:38:42 -06:00
format.py Allow config-file overrides in ecosystem checks (#9286) 2023-12-28 10:44:50 -06:00
main.py Allow config-file overrides in ecosystem checks (#9286) 2023-12-28 10:44:50 -06:00
markdown.py Fix up some types in the ecosystem code (#8898) 2023-11-30 16:02:20 -06:00
projects.py Add internal hidden rules for testing (#9747) 2024-02-01 08:44:51 -06:00
types.py Fix ecosystem format line changed counts (#9158) 2023-12-16 00:14:17 -06:00