https://github.com/PyCQA/pyflakes

A simple program which checks Python source files for errors

https://github.com/PyCQA/pyflakes

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 84 committers (3.6%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.5%) to scientific vocabulary

Keywords

hacktoberfest linter python

Keywords from Contributors

packaging pip pallets pypi docs documentation-tool yapf pre-commit-hook gofmt formatter
Last synced: 6 months ago · JSON representation

Repository

A simple program which checks Python source files for errors

Basic Info
Statistics
  • Stars: 1,433
  • Watchers: 29
  • Forks: 182
  • Open Issues: 60
  • Releases: 0
Topics
hacktoberfest linter python
Created almost 12 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog License Authors

README.rst

========
Pyflakes
========

A simple program which checks Python source files for errors.

Pyflakes analyzes programs and detects various errors.  It works by
parsing the source file, not importing it, so it is safe to use on
modules with side effects.  It's also much faster.

It is `available on PyPI `_
and it supports all active versions of Python: 3.9+.



Installation
------------

It can be installed with::

  $ pip install --upgrade pyflakes


Useful tips:

* Be sure to install it for a version of Python which is compatible
  with your codebase: ``python#.# -m pip install pyflakes`` (for example,
  ``python3.10 -m pip install pyflakes``)

* You can also invoke Pyflakes with ``python#.# -m pyflakes .`` if you want
  to run it for a specific python version.

* If you require more options and more flexibility, you could give a
  look to Flake8_ too.


Design Principles
-----------------
Pyflakes makes a simple promise: it will never complain about style,
and it will try very, very hard to never emit false positives.

Pyflakes is also faster than Pylint_. This is
largely because Pyflakes only examines the syntax tree of each file
individually. As a consequence, Pyflakes is more limited in the
types of things it can check.

If you like Pyflakes but also want stylistic checks, you want
flake8_, which combines
Pyflakes with style checks against
`PEP 8`_ and adds
per-project configuration ability.


Mailing-list
------------

Share your feedback and ideas: `subscribe to the mailing-list
`_

Contributing
------------

Issues are tracked on `GitHub `_.

Patches may be submitted via a `GitHub pull request`_.
If you are comfortable doing so, please `rebase your changes`_
so they may be applied to main with a fast-forward merge, and each commit is
a coherent unit of work with a well-written log message.  If you are not
comfortable with this rebase workflow, the project maintainers will be happy to
rebase your commits for you.

All changes should include tests and pass flake8_.

.. image:: https://github.com/PyCQA/pyflakes/workflows/Test/badge.svg
   :target: https://github.com/PyCQA/pyflakes/actions
   :alt: GitHub Actions build status

.. _Pylint: https://pylint.pycqa.org/
.. _flake8: https://pypi.org/project/flake8/
.. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/
.. _`rebase your changes`: https://git-scm.com/book/en/v2/Git-Branching-Rebasing
.. _`GitHub pull request`: https://github.com/PyCQA/pyflakes/pulls

Changelog
---------

Please see `NEWS.rst `_.

Owner

  • Name: Python Code Quality Authority
  • Login: PyCQA
  • Kind: organization
  • Email: code-quality@python.org
  • Location: Everywhere

Organization for code quality tools (and plugins) for the Python programming language

GitHub Events

Total
  • Issues event: 21
  • Watch event: 63
  • Delete event: 4
  • Issue comment event: 35
  • Push event: 10
  • Pull request review comment event: 1
  • Pull request review event: 6
  • Pull request event: 21
  • Fork event: 6
  • Create event: 7
Last Year
  • Issues event: 21
  • Watch event: 63
  • Delete event: 4
  • Issue comment event: 35
  • Push event: 10
  • Pull request review comment event: 1
  • Pull request review event: 6
  • Pull request event: 21
  • Fork event: 6
  • Create event: 7

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 518
  • Total Committers: 84
  • Avg Commits per committer: 6.167
  • Development Distribution Score (DDS): 0.749
Past Year
  • Commits: 11
  • Committers: 2
  • Avg Commits per committer: 5.5
  • Development Distribution Score (DDS): 0.091
Top Committers
Name Email Commits
Florent Xicluna f****a@g****m 130
Anthony Sottile a****e@u****u 88
Jonathan Lange j****l@c****m 40
Steven Myint g****t@s****m 33
John Vandenberg j****b@g****m 26
Phil Frost i****o@b****m 24
exarkun e****n 23
moe m****e 10
Aaron Meurer a****r@g****m 9
Jon Dufresne j****e@g****m 8
mithrandi m****i 8
Adi Roiban a****n@c****m 7
ryneeverett r****t@g****m 6
Hugo van Kemenade h****k 5
Peter Law P****w@g****m 4
Marius Gedminas m****s@g****s 4
Attila Oláh a****h@g****m 4
Danny Sepler d****r@g****m 4
glyph g****h 3
MacBox7 a****4@g****m 3
Ville Skyttä v****a@i****i 2
Terence Honles t****e@h****m 2
Michael J. Sullivan s****y@m****t 2
Louis Sautier s****s@g****m 2
Laurent Bachelier l****t@b****e 2
Jörn Heissler j****r 2
Jakub Wilk j****k@j****t 2
Eduard-Cristian Stefan a****t@g****m 2
Charlie Liu C****3 2
Charles-Francois Natali c****i@g****m 2
and 54 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 103
  • Total pull requests: 84
  • Average time to close issues: 5 months
  • Average time to close pull requests: 5 months
  • Total issue authors: 86
  • Total pull request authors: 26
  • Average comments per issue: 3.04
  • Average comments per pull request: 2.17
  • Merged pull requests: 46
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 16
  • Pull requests: 22
  • Average time to close issues: about 3 hours
  • Average time to close pull requests: 12 days
  • Issue authors: 12
  • Pull request authors: 7
  • Average comments per issue: 1.06
  • Average comments per pull request: 0.64
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mgorny (5)
  • edreamleo (4)
  • asottile (4)
  • asmeurer (3)
  • davidkinnes (3)
  • pyflakes-bot (3)
  • spaceone (2)
  • nanonyme (1)
  • DavideCanton (1)
  • JohannesBuchner (1)
  • mdantonio (1)
  • dvarrazzo (1)
  • buhtz (1)
  • char101 (1)
  • frenzymadness (1)
Pull Request Authors
  • asottile (37)
  • jayvdb (13)
  • dannysepler (4)
  • edreamleo (4)
  • eamanu (2)
  • jbjd (2)
  • graingert (2)
  • takluyver (2)
  • stefan6419846 (2)
  • cclauss (2)
  • hangie (2)
  • krassowski (1)
  • remram44 (1)
  • intgr (1)
  • seeeturtle (1)
Top Labels
Issue Labels
invalid (4) bug (3) duplicate (1) enhancement (1) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 17
  • Total downloads:
    • pypi 42,454,276 last-month
  • Total docker downloads: 238,346,729
  • Total dependent packages: 426
    (may contain duplicates)
  • Total dependent repositories: 86,490
    (may contain duplicates)
  • Total versions: 114
  • Total maintainers: 7
pypi.org: pyflakes

passive checker of Python programs

  • Versions: 42
  • Dependent Packages: 387
  • Dependent Repositories: 85,784
  • Downloads: 42,454,276 Last month
  • Docker Downloads: 238,346,729
Rankings
Dependent repos count: 0.0%
Downloads: 0.0%
Dependent packages count: 0.1%
Docker downloads count: 0.3%
Average: 1.3%
Stargazers count: 2.5%
Forks count: 4.9%
Maintainers (3)
Last synced: 8 months ago
alpine-v3.18: py3-pyflakes-pyc

Precompiled Python bytecode for py3-pyflakes

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 3.8%
Stargazers count: 6.9%
Forks count: 8.1%
Last synced: 6 months ago
alpine-v3.18: py3-pyflakes

passive checker of Python programs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 3.8%
Stargazers count: 6.9%
Forks count: 8.1%
Last synced: 6 months ago
alpine-edge: py3-pyflakes

passive checker of Python programs

  • Versions: 8
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 5.8%
Dependent packages count: 6.0%
Stargazers count: 8.4%
Forks count: 8.7%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.17: py3-pyflakes

passive checker of Python programs

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 6.8%
Stargazers count: 6.8%
Forks count: 7.5%
Dependent packages count: 12.7%
Last synced: 6 months ago
spack.io: py-pyflakes

A simple program which checks Python source files for errors.

  • Versions: 20
  • Dependent Packages: 3
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Stargazers count: 6.6%
Average: 7.1%
Forks count: 7.6%
Dependent packages count: 14.2%
Maintainers (1)
Last synced: about 1 year ago
conda-forge.org: pyflakes
  • Versions: 13
  • Dependent Packages: 28
  • Dependent Repositories: 353
Rankings
Dependent repos count: 1.6%
Dependent packages count: 2.4%
Average: 7.3%
Stargazers count: 11.2%
Forks count: 13.9%
Last synced: 6 months ago
alpine-edge: py3-pyflakes-pyc

Precompiled Python bytecode for py3-pyflakes

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Average: 7.8%
Stargazers count: 8.7%
Forks count: 9.1%
Dependent packages count: 13.4%
Maintainers (1)
Last synced: 6 months ago
anaconda.org: pyflakes

Pyflakes analyzes programs and detects various errors. It works by parsing the source file, not importing it, so it is safe to use on modules with side effects. It is also much faster.

  • Versions: 13
  • Dependent Packages: 5
  • Dependent Repositories: 353
Rankings
Dependent packages count: 8.7%
Dependent repos count: 9.1%
Average: 16.0%
Stargazers count: 21.3%
Forks count: 24.8%
Last synced: 6 months ago
alpine-v3.19: py3-pyflakes

passive checker of Python programs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 6 months ago
alpine-v3.19: py3-pyflakes-pyc

Precompiled Python bytecode for py3-pyflakes

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 6 months ago
alpine-v3.22: py3-pyflakes

passive checker of Python programs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.22: py3-pyflakes-pyc

Precompiled Python bytecode for py3-pyflakes

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 6 months ago
alpine-v3.21: py3-pyflakes

passive checker of Python programs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 6 months ago
alpine-v3.21: py3-pyflakes-pyc

Precompiled Python bytecode for py3-pyflakes

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 6 months ago
alpine-v3.20: py3-pyflakes

passive checker of Python programs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 6 months ago
alpine-v3.20: py3-pyflakes-pyc

Precompiled Python bytecode for py3-pyflakes

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 6 months ago

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite