question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable linting message by UI

See original GitHub issue

Hi,

would it be possible to add a feature for disabling linting message on request? I quite often write code, that sometimes generates some pylint/flake8/mypy warning, which I am actually aware of, but choose to write it in such a way anyway.

Then I have to manually add a comment such as # pylint: disable=unused-argument to the end of such line to suppress warning on that particular line.

would it be possible to have a button/context menu for each warning (and obviously not anything worse than warning) to add such a comment automatically?

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
otajcommented, Sep 6, 2019

Exactly! Ideally only for the specific line, not globally for a file.

0reactions
luabudcommented, Nov 1, 2019

Thanks for the suggestion 👍 but we decided not to move forward with this idea for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable pylint warnings and messages on Visual ...
Then type the command Python: Enable Linting , and select off . Another option is to choose no linter.
Read more >
Common React TypeScript ESLint / Lint Errors & Warning ...
#7 Disable console.log messages. The lint message: ESLint: Unexpected console statement.(no-console). During the development phase, you may leave some ...
Read more >
Linters | golangci-lint
Name Description Presets Since asasalint ⚙️ check for pass any as any in variadic func(...any) bugs 1.47.0 bidichk ⚙️ Checks for dangerous unicode character sequences...
Read more >
A guide on disabling/enabling lsp-mode features
A guide on disabling/enabling lsp-mode features# · 1. Symbol highlighting · 2. lsp-ui-doc - on hover dialogs. · 3. Lenses · 4. Headerline...
Read more >
Linter rules - Dart
Invocation of remove with references of unrelated types. This rule is available as of Dart 2.0.0. Rule sets: core, recommended, flutter. Details. DON'T...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found