{"id":13734431,"url":"https://github.com/jparise/flake8-author","last_synced_at":"2025-03-23T12:32:57.090Z","repository":{"id":8268411,"uuid":"57457466","full_name":"jparise/flake8-author","owner":"jparise","description":"Flake8 extension that checks Python modules for __author__ attributes","archived":false,"fork":false,"pushed_at":"2024-10-08T21:23:24.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-12T13:25:12.548Z","etag":null,"topics":["flake8","python"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/flake8-author","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jparise.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-30T19:05:45.000Z","updated_at":"2024-10-08T21:23:26.000Z","dependencies_parsed_at":"2023-12-09T22:24:24.355Z","dependency_job_id":"b21a2e99-4a30-4a32-93b7-72ed831441a0","html_url":"https://github.com/jparise/flake8-author","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":0.0847457627118644,"last_synced_commit":"bb51eb662a8dbcbc3e457edaee1ca2ff59c8b142"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jparise%2Fflake8-author","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jparise%2Fflake8-author/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jparise%2Fflake8-author/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jparise%2Fflake8-author/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jparise","download_url":"https://codeload.github.com/jparise/flake8-author/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221850657,"owners_count":16891662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flake8","python"],"created_at":"2024-08-03T03:00:55.662Z","updated_at":"2024-10-28T15:48:15.107Z","avatar_url":"https://github.com/jparise.png","language":"Python","readme":"=========================\nFlake8 __author__ Checker\n=========================\n\n|PyPI Version| |Python Versions|\n\n``flake8-author`` is a `Flake8 \u003chttp://flake8.pycqa.org/\u003e`_ extension that\nchecks Python modules for module-level ``__author__`` attributes.\n\nThere is no official standard on ``__author__`` usage. It is used largely by\nconvention. Guido had this to say `back in 2001`__:\n\n    Anothor source of discomfort is that there's absolutely no standard for\n    this kind of meta-data variables.  We've got __version__, and I believe we\n    once agreed on that (in 1994 or so :-).  But __author__?  __credits__?\n    What next -- __cute_signoff__?\n\n__ https://mail.python.org/pipermail/python-dev/2001-March/013328.html\n\nThis extension can therefore be configured to explicitly require or forbid\n``__author__`` attributes. By default, ``__author__`` is considered optional.\n\nIf the ``__author__`` attribute is allowed, its value can also be validated\nusing a configurable regular expression pattern.\n\nThe ``__author__`` attribute is generally assigned to a string, but multiple\nauthors can be listed using a list (or tuple or set) of strings.\n\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/flake8-author.svg\n   :target: https://pypi.python.org/pypi/flake8-author\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/flake8-author.svg\n   :target: https://pypi.python.org/pypi/flake8-author\n\n\nInstallation\n------------\n\nInstall from PyPI using ``pip``:\n\n.. code-block:: sh\n\n    $ pip install flake8-author\n\nThe extension will be activated automatically by ``flake8``. You can verify\nthat it has been loaded by inspecting the ``flake8 --version`` string.\n\n.. code-block:: sh\n\n    $ flake8 --version\n    6.1.0 (author: 2.1.0, ...) CPython 3.11.5 on Darwin\n\n\nError Codes\n-----------\n\nThis extension adds three new `error codes`__ (using the ``A40`` prefix):\n\n- ``A400``: a module-level ``__author__`` attribute is required\n- ``A401``: ``__author__`` attributes are not allowed\n- ``A402``: ``__author__`` attribute value does not match *pattern*\n\n__ http://flake8.pycqa.org/en/latest/user/error-codes.html\n\nConfiguration\n-------------\n\nConfiguration values are specified in the ``[flake8]`` section of your `config\nfile`_ or as command line arguments (e.g. ``--author-attribute=required``).\n\n- ``author-attribute``: \"optional\", \"required\", \"forbidden\" (default: optional)\n- ``author-pattern``: ``__author__`` validation `re`_ pattern (default: ``''``)\n\n.. _config file: http://flake8.pycqa.org/en/latest/user/configuration.html\n.. _re: https://docs.python.org/library/re.html\n","funding_links":[],"categories":["Comments"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjparise%2Fflake8-author","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjparise%2Fflake8-author","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjparise%2Fflake8-author/lists"}