{"id":30865521,"url":"https://github.com/mytestopia/flake8-qa-style","last_synced_at":"2026-04-01T19:33:02.498Z","repository":{"id":199949549,"uuid":"704376612","full_name":"mytestopia/flake8-qa-style","owner":"mytestopia","description":"Flake8 based linter with best-practices for tests","archived":false,"fork":false,"pushed_at":"2026-03-20T06:27:09.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-20T23:02:35.812Z","etag":null,"topics":["flake8-plugin","python","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mytestopia.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-13T06:10:38.000Z","updated_at":"2026-03-20T06:24:40.000Z","dependencies_parsed_at":"2023-10-14T17:47:32.536Z","dependency_job_id":null,"html_url":"https://github.com/mytestopia/flake8-qa-style","commit_stats":null,"previous_names":["mytestopia/flake8-qa-style"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mytestopia/flake8-qa-style","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytestopia%2Fflake8-qa-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytestopia%2Fflake8-qa-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytestopia%2Fflake8-qa-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytestopia%2Fflake8-qa-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mytestopia","download_url":"https://codeload.github.com/mytestopia/flake8-qa-style/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytestopia%2Fflake8-qa-style/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-plugin","python","testing-tools"],"created_at":"2025-09-07T21:21:37.754Z","updated_at":"2026-04-01T19:33:02.491Z","avatar_url":"https://github.com/mytestopia.png","language":"Python","readme":"# flake8-qa-style\n\nFlake8 based linter with some qa best-practice for writing tests\n\n## Installation\n\n```bash\npip inslall flake8-qa-style\n```\n\n## Rules\n\n1. **CS001**: using sleep(1) instead of sleep(var), var - meaningful variable\n2. **CS002**: using print()\n3. **CS003**: assert same variables: assert var == var\n4. **CS004**: assert variable with constant: assert var == 1\n5. **CS005**: missing type annotation for argument in function\n6. **CS006**: missing function return type annotation\n7. **CS007**: file should not start with a blank line\n8. [CS008: nested \"with\" statements of the same type should be comma-separated](./rules/CS008.md)\n\n**Rules configuration**\n```editorconfig\n[flake8]\n;for methods with @property decorator skip CS006\nskip_property_return_annotation = true\n```\n\n## Configuration\nFlake8-qa-style is flake8 plugin, so the configuration is the same as [flake8 configuration](https://flake8.pycqa.org/en/latest/user/configuration.html).\n\nYou can ignore rules via\n- file `setup.cfg`: parameter `ignore`\n```editorconfig\n[flake8]\nignore = CS001\n```\n- comment in code `#noqa: CS001`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmytestopia%2Fflake8-qa-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmytestopia%2Fflake8-qa-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmytestopia%2Fflake8-qa-style/lists"}