{"id":13734287,"url":"https://github.com/best-doctor/flake8-variables-names","last_synced_at":"2025-04-07T11:08:26.268Z","repository":{"id":34082175,"uuid":"169563195","full_name":"best-doctor/flake8-variables-names","owner":"best-doctor","description":"A flake8 extension that helps to make more readable variables names","archived":false,"fork":false,"pushed_at":"2024-06-28T16:04:24.000Z","size":40,"stargazers_count":55,"open_issues_count":5,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T11:03:03.729Z","etag":null,"topics":["flake8","flake8-plugin","naming-conventions"],"latest_commit_sha":null,"homepage":null,"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/best-doctor.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":"2019-02-07T11:45:00.000Z","updated_at":"2024-03-19T18:23:29.000Z","dependencies_parsed_at":"2024-01-06T09:57:54.730Z","dependency_job_id":"697eec8b-101a-415a-98a9-1a0d3d30cae7","html_url":"https://github.com/best-doctor/flake8-variables-names","commit_stats":{"total_commits":34,"total_committers":7,"mean_commits":4.857142857142857,"dds":0.5294117647058824,"last_synced_commit":"3db7cd93a8f4e80cd856d7e713acc4f656644219"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-doctor%2Fflake8-variables-names","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-doctor%2Fflake8-variables-names/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-doctor%2Fflake8-variables-names/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-doctor%2Fflake8-variables-names/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/best-doctor","download_url":"https://codeload.github.com/best-doctor/flake8-variables-names/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640464,"owners_count":20971557,"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","flake8-plugin","naming-conventions"],"created_at":"2024-08-03T03:00:54.265Z","updated_at":"2025-04-07T11:08:26.247Z","avatar_url":"https://github.com/best-doctor.png","language":"Python","funding_links":[],"categories":["Naming"],"sub_categories":[],"readme":"# flake8-variables-names\n\n[![Build Status](https://github.com/best-doctor/flake8-variables-names/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/best-doctor/flake8-variables-names/actions/workflows/build.yml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/c7502e578af3f4437179/maintainability)](https://codeclimate.com/github/best-doctor/flake8-variables-names/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/c7502e578af3f4437179/test_coverage)](https://codeclimate.com/github/best-doctor/flake8-variables-names/test_coverage)\n[![PyPI version](https://badge.fury.io/py/flake8-variables-names.svg)](https://badge.fury.io/py/flake8-variables-names)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flake8-variables-names)\n\nAn extension for flake8 that helps to make more readable variables names.\n\nWe believe, that variable name should unmistakably shows, what it contains.\nThats why we try not to use varnames with only one symbol or not to use\ntoo common names, such as `result`, `value` or `info`.\n\nThis extensions helps to detect such names. By default it works in\nnon-strict mode. You can change it with `--use-varnames-strict-mode`\nparameter end extend variable names blacklist even more.\n\n## Installation\n\n```terminal\npip install flake8-variables-names\n```\n\n## Example\n\nSample file:\n\n```python\n# test.py\n\na = 1\nfoo = 2\nresult = a + foo\n```\n\nUsage:\n\n```terminal\n$ flake8 test.py\ntest.py:1:1: VNE001 single letter variable names are not allowed\ntest.py:2:1: VNE002 variable name should be clarified\n```\n\n## Error codes\n\n| Error code |                          Description                    |\n|:----------:|:-------------------------------------------------------:|\n|   VNE001   | single letter variable names like 'XXX' are not allowed |\n|   VNE002   | variable name 'XXX' should be clarified                 |\n|   VNE003   | variable names that shadow builtins are not allowed     |\n\n## Contributing\n\nWe would love you to contribute to our project. It's simple:\n\n- Create an issue with bug you found or proposal you have.\n  Wait for approve from maintainer.\n- Create a pull request. Make sure all checks are green.\n- Fix review comments if any.\n- Be awesome.\n\nHere are useful tips:\n\n- You can run all checks and tests with `make check`.\n  Please do it before CI does.\n- We use [BestDoctor python styleguide](https://github.com/best-doctor/guides/blob/master/guides/en/python_styleguide.md).\n- We respect [Django CoC](https://www.djangoproject.com/conduct/).\n  Make soft, not bullshit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbest-doctor%2Fflake8-variables-names","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbest-doctor%2Fflake8-variables-names","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbest-doctor%2Fflake8-variables-names/lists"}