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.

Distribution should not depend on Flake8

See original GitHub issue

Currently, the list of dependencies of the motmetrics distribution is taken from the requirements.txt file, which includes flake8 and flake8-import-order. However, these packages are not used anywhere in the motmetrics code. This means that installing motmetrics leads to a bunch of unnecessary dependencies being installed too.

Issue Analytics

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

github_iconTop GitHub Comments

cheindcommented, Mar 17, 2020

Hey! So yes, flake8 and related (also pytest) should be removed from requirements.txt.

For developers, we could add a dev_requirements.txt or similar which needs to be installed with pip install -r dev_requirements.txt. Or even better, we utilize extras_require from as explained here.

IRDonchcommented, Mar 23, 2020

@cheind It’s a similar concern to what the original problem was - you’re installing code that is unnecessary for most users. That said, I don’t mind it that much, so if you like it the way it is, that’s fine.

The original problem’s been resolved, so I’m closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Full Listing of Options and Their Descriptions - Flake8
Show Flake8's version as well as the versions of all plugins installed. Command-line usage: flake8 --version. This can not be specified in config...
Read more >
flake8 was not found in this python distribution. #12 - GitHub
I'm getting a strange error. I have flake8 installed, I can run it from the command line with any user including root. When...
Read more >
flake8 Documentation - Read the Docs
Please do not open issues about this dependency to Flake8. ... This option takes a list of distribution names (usually the name you...
Read more >
python3-flake8 dependency issues in focal-proposed
or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies:
Read more >
flake8-rst-docstrings - PyPI
Introduction. This is an MIT licensed flake8 plugin for validating Python docstrings markup as reStructuredText (RST) using the Python library docutils.
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 Post

No results found

github_iconTop Related Hashnode Post

No results found