Replace pyflakes with Ruff by jeanas · Pull Request #2592 · pygments/pygments

@jeanas

  • Fix/ignore Ruff lints
  • Replace pyflakes with Ruff in tox -e check

@jeanas

@jeanas

@birkenfeld

You're on a roll! Looks good.

@Anteru

I was going to say, taking a week off or something :) Thanks, looks good. Makes me look really bad here though :(

@Anteru

This is weird. When I run ruff check ., I get 1301 errors, unless I use ruff check --ignore E501 .. Why does tox not complain? It supposedly runs ruff check . unless I'm missing something?

@jeanas

Are you sure that you have the latest version of Ruff in your environment outside tox? Apparently, the default config disables some style lints for things that can be solved by running the formatter. Since that formatter is a recent addition, it's possible that the default changed.

@birkenfeld

I was going to say, taking a week off or something :) Thanks, looks good. Makes me look really bad here though :(

How does it make it you look bad? This is not a competition :)

@jeanas

How does it make it you look bad? This is not a competition :)

💯