{"id":18474448,"url":"https://github.com/pgjones/flake8-flask","last_synced_at":"2025-05-13T14:30:24.976Z","repository":{"id":145404006,"uuid":"65418908","full_name":"pgjones/flake8-flask","owner":"pgjones","description":"Flake8 plugin that checks Flask code against opinionated style rules","archived":false,"fork":false,"pushed_at":"2016-08-12T18:26:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T19:33:31.900Z","etag":null,"topics":[],"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/pgjones.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-08-10T21:52:46.000Z","updated_at":"2022-11-17T12:17:40.000Z","dependencies_parsed_at":"2023-06-03T17:15:36.514Z","dependency_job_id":null,"html_url":"https://github.com/pgjones/flake8-flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fflake8-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fflake8-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fflake8-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fflake8-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgjones","download_url":"https://codeload.github.com/pgjones/flake8-flask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253960054,"owners_count":21990798,"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-11-06T10:29:31.423Z","updated_at":"2025-05-13T14:30:24.938Z","avatar_url":"https://github.com/pgjones.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flake8-Flask\n\n![Build Status](https://travis-ci.org/pgjones/flake8-flask.png?branch=master)\n\nFlake8-Flask is a [flake8](http://flake8.readthedocs.org/en/latest/)\nplugin that checks flask against some opinionated styles. Notably\nchecking for trailing slashes in routes, that routes do not have\nmultiple methods and that blueprint prefixes match a specified form.\n\n## Warnings\n\nThis package adds 3 new flake8 warnings\n - `F440`: Route is Missing Trailing Slash.\n - `F441`: Route has more than 1 method.\n - `F450`: Blueprint prefix does not match /v\\d+.\n\n## Limitations\n\nAny decorator added in the format\n\n```python\n@app.route(path, methods=[])\n```\n\nis considered a route regardless of the name or type of app. The path\nand methods are then checked.\n\nAny call in the format\n\n```python\napp.register_blueprint(blueprint, url_prefix=prefix)\n```\n\nis considered a blueprint registration regardless of the name or type\nof app. The prefix is then checked.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgjones%2Fflake8-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgjones%2Fflake8-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgjones%2Fflake8-flask/lists"}