{"id":13734508,"url":"https://github.com/xuhdev/flake8-executable","last_synced_at":"2025-03-15T11:33:24.442Z","repository":{"id":49155217,"uuid":"193312845","full_name":"xuhdev/flake8-executable","owner":"xuhdev","description":"A Flake8 plugin for checking executable permissions and shebangs.","archived":false,"fork":false,"pushed_at":"2024-04-25T10:34:04.000Z","size":92,"stargazers_count":18,"open_issues_count":16,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T14:50:11.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flake8-executable/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuhdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","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":"2019-06-23T06:08:15.000Z","updated_at":"2024-05-04T17:24:56.316Z","dependencies_parsed_at":"2023-02-12T19:05:11.971Z","dependency_job_id":"89a27383-b9c0-48e8-8e59-4e22468dd07e","html_url":"https://github.com/xuhdev/flake8-executable","commit_stats":{"total_commits":81,"total_committers":5,"mean_commits":16.2,"dds":0.2962962962962963,"last_synced_commit":"2b6c3fec0f7ccb175fe34f2a613b762af2a35536"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fflake8-executable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fflake8-executable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fflake8-executable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuhdev%2Fflake8-executable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuhdev","download_url":"https://codeload.github.com/xuhdev/flake8-executable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725077,"owners_count":20337660,"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":[],"created_at":"2024-08-03T03:00:56.769Z","updated_at":"2025-03-15T11:33:24.114Z","avatar_url":"https://github.com/xuhdev.png","language":"Python","funding_links":[],"categories":["Comments"],"sub_categories":[],"readme":"# flake8-executable\n\n[![Pyversions](https://img.shields.io/pypi/pyversions/flake8-executable.svg?style=flat-square)](https://pypi.python.org/pypi/flake8-executable)\n![PyPI](https://img.shields.io/pypi/v/flake8-executable.svg)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/flake8-executable)\n[![Build Status](https://ci.appveyor.com/api/projects/status/h6mucl894w6dx7d0?svg=true)](https://ci.appveyor.com/project/xuhdev/flake8-executable)\n\nVery often, developers mess up the executable permissions and shebangs of Python files. For example,\nsometimes the executable permission was accidentally granted, sometimes it is forgotten.\n\nThis is a [Flake8][] plugin that ensures the executable permissions and shebangs of Python files are\ncorrectly set. Specifically, it checks the following errors:\n\n- EXE001: Shebang is present but the file is not executable.\n- EXE002: The file is executable but no shebang is present.\n- EXE003: Shebang is present but does not contain \"python\".\n- EXE004: There is whitespace before shebang.\n- EXE005: There are blank or comment lines before shebang.\n\n## Installation\n\nRun:\n\n    pip install flake8-executable\n\nOr through `pre-commit` with the `.pre-commit-config.yaml`:\n\n```yaml\nrepos:\n-   repo: https://github.com/PyCQA/flake8\n    rev: 6.0.0  # replace with the latest flake8 release\n    hooks:\n    -   id: flake8\n        additional_dependencies:\n        - flake8-executable\n```\n\n## Usage\n\nNormally, after flake8-executable is installed, invoking flake8 will also run this plugin. For more\ndetails, check out the [Flake8 plugin page][].\n\n## Copyright and License\n\nCopyright (c) 2019 Hong Xu \u003chong@topbug.net\u003e\n\nflake8-executable is free software: you can redistribute it and/or modify it under the terms of the\nGNU Lesser General Public License as published by the Free Software Foundation, either version 3 of\nthe License, or (at your option) any later version.\n\nflake8-executable is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License along with\nflake8-executable. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n\n\n[Flake8]: https://flake8.pycqa.org/\n[Flake8 plugin page]: https://flake8.pycqa.org/en/latest/user/using-plugins.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuhdev%2Fflake8-executable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuhdev%2Fflake8-executable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuhdev%2Fflake8-executable/lists"}