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.

Offer built-in rules standalone

See original GitHub issue

This package of lints is great, however it adds quite a lot of dependencies into projects which may only want a small number of the rules available here. (Many of which aren’t available elsewhere).

Would you be open to offering the core rules as their own package, separate from the dependencies? (I’m assuming that most of the dependencies aren’t actually runtime requirements, but instead are dependencies so they’re pulled in for convenience).

I can think of a number of ways this could be expressed, either as a separate package or by moving the dependencies to an “extras” requirement on this package. The latter would be sort-of breaking (users who want everything would need to install wemake-python-styleguide[all] or similar rather than just wemake-python-styleguide), but is likely to be simpler to maintain.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
PeterJCLawcommented, Oct 6, 2022

I had a quick look at which packages are actually needed just now; noting down the results to save future me some time – it’s currently pip install 'flake8<5' flake8-quotes attrs pep8-naming astor pygments.

However flake8 v5 does also seem to work.

0reactions
PeterJCLawcommented, Nov 15, 2022

For info: I’m not sure I’m likely to get to this in the immediate future. I’m still interested in this happening (and may eventually have time to work on it), but wanted to clarify in case others were interested in working on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GNU make
GNU make. This file documents the GNU make utility, which determines automatically which pieces of a large program need to be recompiled, ...
Read more >
2. Rules - Managing Projects with GNU Make, 3rd Edition [Book]
Having a built-in database of rules makes writing makefiles easier since for many common tasks make already knows the file types, suffixes, and...
Read more >
Getting started with standalone components - Angular
Standalone components provide a simplified way to build Angular applications. Standalone components, directives, and pipes aim to streamline the authoring ...
Read more >
Process group detection | Dynatrace Docs
On the Built-in detection rules page, you can enable or disable specific process group ... Select whether you want the rule to be...
Read more >
disabling Makefile built-in rules | Ars OpenForum - Ars Technica
I would like to disable all the built-in rules for a Makefile. ... If I fail to provide a build rule for a...
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