{"id":13734843,"url":"https://github.com/bskinn/flake8-absolute-import","last_synced_at":"2025-04-09T16:50:24.497Z","repository":{"id":45613881,"uuid":"206829782","full_name":"bskinn/flake8-absolute-import","owner":"bskinn","description":"flake8 plugin to require absolute imports","archived":false,"fork":false,"pushed_at":"2023-10-09T02:57:59.000Z","size":68,"stargazers_count":13,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T18:54:16.839Z","etag":null,"topics":["absolute-imports","flake8-plugin","linting","relative-imports"],"latest_commit_sha":null,"homepage":"","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/bskinn.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md"}},"created_at":"2019-09-06T16:05:06.000Z","updated_at":"2025-01-29T17:59:26.000Z","dependencies_parsed_at":"2024-01-06T10:00:20.457Z","dependency_job_id":"c2fe1b28-fb77-402b-8845-b557a8875639","html_url":"https://github.com/bskinn/flake8-absolute-import","commit_stats":{"total_commits":52,"total_committers":1,"mean_commits":52.0,"dds":0.0,"last_synced_commit":"18c97a5da14717ad4ed079eaec526826be7bf16c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fflake8-absolute-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fflake8-absolute-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fflake8-absolute-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bskinn%2Fflake8-absolute-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bskinn","download_url":"https://codeload.github.com/bskinn/flake8-absolute-import/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248072424,"owners_count":21043231,"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":["absolute-imports","flake8-plugin","linting","relative-imports"],"created_at":"2024-08-03T03:01:00.441Z","updated_at":"2025-04-09T16:50:24.477Z","avatar_url":"https://github.com/bskinn.png","language":"Python","readme":"flake8-absolute-import\n======================\n\n*flake8 plugin to require absolute imports*\n\n**Current Development Version:**\n\n.. image:: https://img.shields.io/github/actions/workflow/status/bskinn/flake8-absolute-import/ci_tests.yml?branch=main\u0026logo=github\n    :alt: GitHub Workflow Status\n    :target: https://github.com/bskinn/flake8-absolute-import/actions\n\n.. image:: https://codecov.io/gh/bskinn/flake8-absolute-import/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/bskinn/flake8-absolute-import\n\n**Most Recent Stable Release:**\n\n.. image:: https://img.shields.io/pypi/v/flake8-absolute-import.svg?logo=pypi\n    :target: https://pypi.org/project/flake8-absolute-import\n\n.. image:: https://img.shields.io/pypi/pyversions/flake8-absolute-import.svg?logo=python\n\n**Info:**\n\n.. image:: https://img.shields.io/github/license/mashape/apistatus.svg\n    :target: https://github.com/bskinn/flake8-absolute-import/blob/stable/LICENSE.txt\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n.. image:: https://pepy.tech/badge/flake8-absolute-import/month\n    :target: https://pepy.tech/project/flake8-absolute-import\n\n----\n\n*Don't like relative imports?*\n\nLint 'em out!\n\n``flake8-absolute-import`` uses a direct check of the AST for each\n``from x import y`` statement to flag relative imports.\nSpecifically, it checks for a nonzero *level* attribute on each\n|ImportFrom|_ node.\n\nRelative imports raise the ``ABS101`` error code:\n\n.. code:: python\n\n    from foo import bar   # OK\n    from .foo import bar  # ABS101\n\n----\n\nAvailable on `PyPI \u003chttps://pypi.python.org/pypi/flake8-absolute-import\u003e`__\n(``pip install flake8-absolute-import``).  ``flake8`` should automatically\ndetect and load the plugin. ``flake8``\u003e=5.0 is required.\n\nSource on `GitHub \u003chttps://github.com/bskinn/flake8-absolute-import\u003e`__.  Bug reports\nand feature requests are welcomed at the\n`Issues \u003chttps://github.com/bskinn/flake8-absolute-import/issues\u003e`__ page there.\n\nCopyright (c) Brian Skinn 2019-2023\n\nThe ``flake8-absolute-import`` documentation (including docstrings and README)\nis licensed under a\n`Creative Commons Attribution 4.0 International License \u003chttp://creativecommons.org/licenses/by/4.0/\u003e`__\n(CC-BY). The ``flake8-absolute-import`` codebase is released under the\n`MIT License \u003chttps://opensource.org/licenses/MIT\u003e`__. See\n`LICENSE.txt \u003chttps://github.com/bskinn/flake8-absolute-import/blob/main/LICENSE.txt\u003e`__ for\nfull license terms.\n\n.. _ImportFrom: https://greentreesnakes.readthedocs.io/en/latest/nodes.html#ImportFrom\n.. |ImportFrom| replace:: ``ImportFrom``\n","funding_links":[],"categories":["Imports"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbskinn%2Fflake8-absolute-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbskinn%2Fflake8-absolute-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbskinn%2Fflake8-absolute-import/lists"}