BSD Ports

devel/py-ruff 0.16.7 NetBSD

Extremely fast Python linter, written in Rust

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7a27722a64
License
mit
Categories
devel, python
Package size
7134.2 KiB, 24862.1 KiB installed

Description

Ruff is an extremely fast Python linter, written in Rust.

Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.

Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.

In the other systems

SystemPortVersion
NetBSDdevel/py-ruff0.16.7
FreeBSDdevel/py-ruff0.17.1
MidnightBSDdevel/py-ruff0.15.20
HardenedBSDdevel/py-ruff0.16.9
GhostBSDdevel/py-ruff0.16.8

Install

Binary package:

pkgin install py311-ruff

From pkgsrc:

cd /usr/pkgsrc/devel/py-ruff && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.16.7
NetBSD 10.1 aarch640.15.17
SmartOS / illumos x86_64-
macOS 15 arm640.17.1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-ruff-0.16.7, py313-ruff-0.16.7, py314-ruff-0.16.7

Commit history 14

DateCommitCreditsLog message
7a27722a64 wiz py-ruff: update to 0.17.1.
Preview features [pycodestyle] Don't treat None, True, or False as keywords (E271-E274) (#29322) Bug fixes Fix dedent with multiple leading comments (#29382) [flake8-pyi] Detect legacy positional-only parameters in __new__ methods (PYI063) (#28502) [flake8-pyi] Fix false positives on quoted annotations (PYI036) (#29274) [perflint] Avoid invalid comprehension suggestions (PERF401, PERF403) (#29366) Rule changes Treat more collections and weakref containers as mutable (#29213) Documentation [flake8-import-conventions] Update default and example aliases (#29333)
067544b801 adam py-ruff: updated to 0.17.0
0.17.0 Breaking changes Update the default and latest Python versions for 3.15 Ruff now defaults to Python 3.11 instead of 3.10 when no Python version is configured through target-version or requires-python. When checking for syntax errors without a configured Python version, Ruff now defaults to Python 3.15 instead of 3.14. Update the default rule set Several of the flake8-datetimez rules (DTZ001, DTZ005, DTZ006, DTZ007, DTZ011, DTZ012, and DTZ901) are no longer enabled by default, while undefined-local-with-nested-import-star-usage (F406), which corresponds to a syntax error, is now enabled by default. Update Rust crate quick-junit to 0.8.0 …
0e4739e36c adam py-ruff: updated to 0.16.10
0.16.10 Preview features Add a migration guide for categories [pyupgrade] Add rule for context manager iterator annotations (UP052) Performance Reduce memory used by diagnostics Server Avoid running uv format in untrusted workspaces Documentation Fix links to moved changelog sections and renamed mdtests Add Python 3.15 as a supported version Add ty as a type checker example Other changes Update Rust toolchain to 1.99 and MSRV to 1.97
903dfe0d06 wiz py-ruff: update to 0.16.9.
0.16.9 Preview features [ruff] Avoid false positives for overloaded division (RUF069) (#28309) Bug fixes [flake8-bugbear] Avoid false positives for calls with keyword arguments (B009, B010, B043) (#28776) [flake8-tidy-imports] Allow lazy imports to be used in deferred annotations (TID255) (#28767) Rule changes Update LibCST-based fixes for Python 3.15 (#28616) [flake8-pyi] Mention stubs in the diagnostic message (PYI002) (#28542) Documentation Fix horizontal overflow on the rules documentation page (#28699) Update rules table with category information (#28651) [flake8-annotations] Clarify that ANN401 checks return types in addition to arguments (#28334) [flake8-bugbear] Document type-checker interaction (B010) (#28509) …
c6a8db9684 adam py-ruff: updated to 0.16.7
0.16.7 Preview features [ruff] Add rule for default values on method receivers (RUF077) [ruff] Recognize re.prefixmatch (RUF039, RUF055) Bug fixes Alternate nested quotes inside format spec interpolations [flake8-implicit-str-concat] Mark fix unsafe when it creates a docstring (ISC003) [flake8-tidy-imports] Skip fixes for multi-member imports (TID254) [pylint] Gate ImportCycleError on Python 3.15 (PLW0133) Rule changes Correct D211 and D203 rule conflict diagnostic Recognize slice and frozendict generics Stop defining __cached__ for Python 3.15 [pyupgrade] Stop recommending removed typing.no_type_check_decorator (UP035) Performance Reuse parser name lookups when interning Speed up inherited configuration resolution Documentation Fix line-length path in --config example …

The latest 5 of 14 in the history this site was built from.