flake8-dunder-all


Nameflake8-dunder-all JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/python-formate/flake8-dunder-all
SummaryA Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'.
upload_time2024-03-28 18:50:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT
keywords flake8
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
##################
flake8-dunder-all
##################

.. start short_desc

**A Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'.**

.. end short_desc


.. start shields

.. list-table::
	:stub-columns: 1
	:widths: 10 90

	* - Docs
	  - |docs| |docs_check|
	* - Tests
	  - |actions_linux| |actions_windows| |actions_macos| |coveralls|
	* - PyPI
	  - |pypi-version| |supported-versions| |supported-implementations| |wheel|
	* - Anaconda
	  - |conda-version| |conda-platform|
	* - Activity
	  - |commits-latest| |commits-since| |maintained| |pypi-downloads|
	* - QA
	  - |codefactor| |actions_flake8| |actions_mypy|
	* - Other
	  - |license| |language| |requires|

.. |docs| image:: https://img.shields.io/readthedocs/flake8-dunder-all/latest?logo=read-the-docs
	:target: https://flake8-dunder-all.readthedocs.io/en/latest
	:alt: Documentation Build Status

.. |docs_check| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Docs%20Check/badge.svg
	:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Docs+Check%22
	:alt: Docs Check Status

.. |actions_linux| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Linux/badge.svg
	:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Linux%22
	:alt: Linux Test Status

.. |actions_windows| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Windows/badge.svg
	:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Windows%22
	:alt: Windows Test Status

.. |actions_macos| image:: https://github.com/python-formate/flake8-dunder-all/workflows/macOS/badge.svg
	:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22macOS%22
	:alt: macOS Test Status

.. |actions_flake8| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Flake8/badge.svg
	:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Flake8%22
	:alt: Flake8 Status

.. |actions_mypy| image:: https://github.com/python-formate/flake8-dunder-all/workflows/mypy/badge.svg
	:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22mypy%22
	:alt: mypy status

.. |requires| image:: https://dependency-dash.repo-helper.uk/github/python-formate/flake8-dunder-all/badge.svg
	:target: https://dependency-dash.repo-helper.uk/github/python-formate/flake8-dunder-all/
	:alt: Requirements Status

.. |coveralls| image:: https://img.shields.io/coveralls/github/python-formate/flake8-dunder-all/master?logo=coveralls
	:target: https://coveralls.io/github/python-formate/flake8-dunder-all?branch=master
	:alt: Coverage

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/python-formate/flake8-dunder-all?logo=codefactor
	:target: https://www.codefactor.io/repository/github/python-formate/flake8-dunder-all
	:alt: CodeFactor Grade

.. |pypi-version| image:: https://img.shields.io/pypi/v/flake8-dunder-all
	:target: https://pypi.org/project/flake8-dunder-all/
	:alt: PyPI - Package Version

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/flake8-dunder-all?logo=python&logoColor=white
	:target: https://pypi.org/project/flake8-dunder-all/
	:alt: PyPI - Supported Python Versions

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/flake8-dunder-all
	:target: https://pypi.org/project/flake8-dunder-all/
	:alt: PyPI - Supported Implementations

.. |wheel| image:: https://img.shields.io/pypi/wheel/flake8-dunder-all
	:target: https://pypi.org/project/flake8-dunder-all/
	:alt: PyPI - Wheel

.. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/flake8-dunder-all?logo=anaconda
	:target: https://anaconda.org/domdfcoding/flake8-dunder-all
	:alt: Conda - Package Version

.. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/flake8-dunder-all?label=conda%7Cplatform
	:target: https://anaconda.org/domdfcoding/flake8-dunder-all
	:alt: Conda - Platform

.. |license| image:: https://img.shields.io/github/license/python-formate/flake8-dunder-all
	:target: https://github.com/python-formate/flake8-dunder-all/blob/master/LICENSE
	:alt: License

.. |language| image:: https://img.shields.io/github/languages/top/python-formate/flake8-dunder-all
	:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/python-formate/flake8-dunder-all/v0.4.0
	:target: https://github.com/python-formate/flake8-dunder-all/pulse
	:alt: GitHub commits since tagged version

.. |commits-latest| image:: https://img.shields.io/github/last-commit/python-formate/flake8-dunder-all
	:target: https://github.com/python-formate/flake8-dunder-all/commit/master
	:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2024
	:alt: Maintenance

.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/flake8-dunder-all
	:target: https://pypi.org/project/flake8-dunder-all/
	:alt: PyPI - Downloads

.. end shields

|

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

.. start installation

``flake8-dunder-all`` can be installed from PyPI or Anaconda.

To install with ``pip``:

.. code-block:: bash

	$ python -m pip install flake8-dunder-all

To install with ``conda``:

	* First add the required channels

	.. code-block:: bash

		$ conda config --add channels https://conda.anaconda.org/conda-forge
		$ conda config --add channels https://conda.anaconda.org/domdfcoding

	* Then install

	.. code-block:: bash

		$ conda install flake8-dunder-all

.. end installation

flake8 codes
--------------

============== ====================================
Code           Description
============== ====================================
DALL000        Module lacks __all__.
============== ====================================


Use as a pre-commit hook
--------------------------

See `pre-commit <https://github.com/pre-commit/pre-commit>`_ for instructions

Sample ``.pre-commit-config.yaml``:

.. code-block:: yaml

	 - repo: https://gitlab.com/pycqa/flake8
	   rev: 3.8.1
	   hooks:
	    - id: flake8
	      additional_dependencies: [flake8-dunder-all==0.4.0]

``ensure-dunder-all`` script

There is also a script which will automatically add __all__ for files which don't have it.

See `the documentation <https://flake8-dunder-all.readthedocs.io/en/latest/usage.html#ensure-dunder-all-script>`_
for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/python-formate/flake8-dunder-all",
    "name": "flake8-dunder-all",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "flake8",
    "author": null,
    "author_email": "Dominic Davis-Foster <dominic@davis-foster.co.uk>",
    "download_url": "https://files.pythonhosted.org/packages/cb/3d/95006c3dce5054b511089a920623b2cb79b11118c433583e3c3cd93dfcfc/flake8_dunder_all-0.4.0.tar.gz",
    "platform": "Windows",
    "description": "\n##################\nflake8-dunder-all\n##################\n\n.. start short_desc\n\n**A Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'.**\n\n.. end short_desc\n\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Docs\n\t  - |docs| |docs_check|\n\t* - Tests\n\t  - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - PyPI\n\t  - |pypi-version| |supported-versions| |supported-implementations| |wheel|\n\t* - Anaconda\n\t  - |conda-version| |conda-platform|\n\t* - Activity\n\t  - |commits-latest| |commits-since| |maintained| |pypi-downloads|\n\t* - QA\n\t  - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t  - |license| |language| |requires|\n\n.. |docs| image:: https://img.shields.io/readthedocs/flake8-dunder-all/latest?logo=read-the-docs\n\t:target: https://flake8-dunder-all.readthedocs.io/en/latest\n\t:alt: Documentation Build Status\n\n.. |docs_check| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Docs%20Check/badge.svg\n\t:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Docs+Check%22\n\t:alt: Docs Check Status\n\n.. |actions_linux| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Linux/badge.svg\n\t:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Windows/badge.svg\n\t:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/python-formate/flake8-dunder-all/workflows/macOS/badge.svg\n\t:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/python-formate/flake8-dunder-all/workflows/Flake8/badge.svg\n\t:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/python-formate/flake8-dunder-all/workflows/mypy/badge.svg\n\t:target: https://github.com/python-formate/flake8-dunder-all/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/python-formate/flake8-dunder-all/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/python-formate/flake8-dunder-all/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/python-formate/flake8-dunder-all/master?logo=coveralls\n\t:target: https://coveralls.io/github/python-formate/flake8-dunder-all?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/python-formate/flake8-dunder-all?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/python-formate/flake8-dunder-all\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/flake8-dunder-all\n\t:target: https://pypi.org/project/flake8-dunder-all/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/flake8-dunder-all?logo=python&logoColor=white\n\t:target: https://pypi.org/project/flake8-dunder-all/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/flake8-dunder-all\n\t:target: https://pypi.org/project/flake8-dunder-all/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/flake8-dunder-all\n\t:target: https://pypi.org/project/flake8-dunder-all/\n\t:alt: PyPI - Wheel\n\n.. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/flake8-dunder-all?logo=anaconda\n\t:target: https://anaconda.org/domdfcoding/flake8-dunder-all\n\t:alt: Conda - Package Version\n\n.. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/flake8-dunder-all?label=conda%7Cplatform\n\t:target: https://anaconda.org/domdfcoding/flake8-dunder-all\n\t:alt: Conda - Platform\n\n.. |license| image:: https://img.shields.io/github/license/python-formate/flake8-dunder-all\n\t:target: https://github.com/python-formate/flake8-dunder-all/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/python-formate/flake8-dunder-all\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/python-formate/flake8-dunder-all/v0.4.0\n\t:target: https://github.com/python-formate/flake8-dunder-all/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/python-formate/flake8-dunder-all\n\t:target: https://github.com/python-formate/flake8-dunder-all/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2024\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/flake8-dunder-all\n\t:target: https://pypi.org/project/flake8-dunder-all/\n\t:alt: PyPI - Downloads\n\n.. end shields\n\n|\n\nInstallation\n--------------\n\n.. start installation\n\n``flake8-dunder-all`` can be installed from PyPI or Anaconda.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install flake8-dunder-all\n\nTo install with ``conda``:\n\n\t* First add the required channels\n\n\t.. code-block:: bash\n\n\t\t$ conda config --add channels https://conda.anaconda.org/conda-forge\n\t\t$ conda config --add channels https://conda.anaconda.org/domdfcoding\n\n\t* Then install\n\n\t.. code-block:: bash\n\n\t\t$ conda install flake8-dunder-all\n\n.. end installation\n\nflake8 codes\n--------------\n\n============== ====================================\nCode           Description\n============== ====================================\nDALL000        Module lacks __all__.\n============== ====================================\n\n\nUse as a pre-commit hook\n--------------------------\n\nSee `pre-commit <https://github.com/pre-commit/pre-commit>`_ for instructions\n\nSample ``.pre-commit-config.yaml``:\n\n.. code-block:: yaml\n\n\t - repo: https://gitlab.com/pycqa/flake8\n\t   rev: 3.8.1\n\t   hooks:\n\t    - id: flake8\n\t      additional_dependencies: [flake8-dunder-all==0.4.0]\n\n``ensure-dunder-all`` script\n\nThere is also a script which will automatically add __all__ for files which don't have it.\n\nSee `the documentation <https://flake8-dunder-all.readthedocs.io/en/latest/usage.html#ensure-dunder-all-script>`_\nfor details.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'.",
    "version": "0.4.0",
    "project_urls": {
        "Documentation": "https://flake8-dunder-all.readthedocs.io/en/latest",
        "Homepage": "https://github.com/python-formate/flake8-dunder-all",
        "Issue Tracker": "https://github.com/python-formate/flake8-dunder-all/issues",
        "Source Code": "https://github.com/python-formate/flake8-dunder-all"
    },
    "split_keywords": [
        "flake8"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8b7c1737218cc030286e8aaa670634f9ff19a08eed7236a18749d23905e9e6b",
                "md5": "ed5a108a9f16053fad1a0a5146cbc583",
                "sha256": "1a5f47a05391f38778494816b19a1a06bcade7744dab3978a69d28686e30a77e"
            },
            "downloads": -1,
            "filename": "flake8_dunder_all-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ed5a108a9f16053fad1a0a5146cbc583",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10982,
            "upload_time": "2024-03-28T18:50:08",
            "upload_time_iso_8601": "2024-03-28T18:50:08.299930Z",
            "url": "https://files.pythonhosted.org/packages/c8/b7/c1737218cc030286e8aaa670634f9ff19a08eed7236a18749d23905e9e6b/flake8_dunder_all-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cb3d95006c3dce5054b511089a920623b2cb79b11118c433583e3c3cd93dfcfc",
                "md5": "8fe2bcecc71dde97f2cc6e27cee0c7e7",
                "sha256": "6342bf04005fff7ffd3fc85f94dff297a2301d6ee52423f77842f11936471133"
            },
            "downloads": -1,
            "filename": "flake8_dunder_all-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8fe2bcecc71dde97f2cc6e27cee0c7e7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 8630,
            "upload_time": "2024-03-28T18:50:09",
            "upload_time_iso_8601": "2024-03-28T18:50:09.525366Z",
            "url": "https://files.pythonhosted.org/packages/cb/3d/95006c3dce5054b511089a920623b2cb79b11118c433583e3c3cd93dfcfc/flake8_dunder_all-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-28 18:50:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "python-formate",
    "github_project": "flake8-dunder-all",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "flake8-dunder-all"
}
        
Elapsed time: 0.21867s