justinchuby / lintrunner-adapters Goto Github PK
View Code? Open in Web Editor NEWAdapters and tools for lintrunner
Home Page: https://pypi.org/project/lintrunner-adapters
License: Other
Adapters and tools for lintrunner
Home Page: https://pypi.org/project/lintrunner-adapters
License: Other
Hi,
I'm always getting error like
STDERR
error: unexpected argument '--format' found
I'm using latest Ruff version 0.1.6
. Seems they have removed --format
option:
Ruff: An extremely fast Python linter.
Usage: ruff [OPTIONS] <COMMAND>
Commands:
check Run Ruff on the given files or directories (default)
rule Explain a rule (or all rules)
config List or describe the available configuration options
linter List all supported upstream linters
clean Clear any caches in the current directory and any subdirectories
format Run the Ruff formatter on the given files or directories
version Display Ruff's version
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
Log levels:
-v, --verbose Enable verbose logging
-q, --quiet Print diagnostics, but nothing else
-s, --silent Disable all logging (but still exit with status code "1" upon detecting diagnostics)
For help with a specific command, see: `ruff help <command>`.
Can you please remove --format
from
https://github.com/justinchuby/lintrunner-adapters/blob/main/lintrunner_adapters/adapters/ruff_linter.py#L89 ?
Thanks!
Mypy with a warm cache should run faster
Potentially using Select-String and replace
Select-String -Pattern 'n' -AllMatches
Currently the links are all generic https://beta.ruff.rs/docs/rules/. We should update them to point to the specific rules: e.g. https://docs.astral.sh/ruff/rules/blank-line-with-whitespace/
This linter processes the file with isort before sending the result to black as input
to the subprocess.
In
, theinput
argument was somehow not taken by black
when black==24.1.1
on Windows, Python 3.8/Python 3.9.
Maybe consider pipeline the results instead and send it via stdin?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.