{"id":50770157,"url":"https://github.com/procitec/gherkin-lint","last_synced_at":"2026-06-11T17:31:59.254Z","repository":{"id":358044834,"uuid":"1229060963","full_name":"procitec/gherkin-lint","owner":"procitec","description":"Linter for gherkin files, Pythom module with cli interface","archived":false,"fork":false,"pushed_at":"2026-05-15T11:11:43.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T22:26:14.291Z","etag":null,"topics":[],"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/procitec.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":"2026-05-04T16:55:55.000Z","updated_at":"2026-05-15T11:11:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/procitec/gherkin-lint","commit_stats":null,"previous_names":["procitec/gherkin-lint"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/procitec/gherkin-lint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procitec%2Fgherkin-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procitec%2Fgherkin-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procitec%2Fgherkin-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procitec%2Fgherkin-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/procitec","download_url":"https://codeload.github.com/procitec/gherkin-lint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procitec%2Fgherkin-lint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34211061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-11T17:31:59.098Z","updated_at":"2026-06-11T17:31:59.249Z","avatar_url":"https://github.com/procitec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gherkin-lint\n\nLinter for Gherkin feature files with a Python module and CLI interface.\n\n## Requirements\n\n- Python 3.12 or newer\n- [uv](https://docs.astral.sh/uv/)\n\n## Setup\n\nInstall the project and development dependencies with uv:\n\n```bash\nuv sync --all-groups\n```\n\nRun the CLI from the local checkout:\n\n```bash\nuv run gherkin-lint --help\n```\n\nAlternatively, run the module directly:\n\n```bash\nuv run python -m gherkin_lint --help\n```\n\n## Usage\n\nLint one feature file:\n\n```bash\nuv run gherkin-lint features/login.feature\n```\n\nLint multiple feature files:\n\n```bash\nuv run gherkin-lint features/login.feature features/checkout.feature\n```\n\nLint all feature files in a directory using shell globbing:\n\n```bash\nuv run gherkin-lint features/*.feature\n```\n\nUse a different indentation width for scenarios inside rules:\n\n```bash\nuv run gherkin-lint --indent-size 2 features/*.feature\n```\n\nIncrease verbosity:\n\n```bash\nuv run gherkin-lint -v features/login.feature\nuv run gherkin-lint -vv features/login.feature\n```\n\nWrite output to a log file:\n\n```bash\nuv run gherkin-lint --logfile gherkin-lint.log features/*.feature\n```\n\nThe command exits with status code `0` if no linting errors are found and with status code `1` if at least one linting error is found.\n\n## Tests\n\nRun the pytest test suite:\n\n```bash\nuv run --group test pytest\n```\n\nRun a single test module:\n\n```bash\nuv run --group test pytest tests/test_doc_feature_ok.py\n```\n\nRun tests through tox:\n\n```bash\nuvx --with tox-uv tox\n```\n\nRun a specific tox environment:\n\n```bash\nuvx --with tox-uv tox -e py312\nuvx --with tox-uv tox -e py313\nuvx --with tox-uv tox -e lint\n```\n\n## Linting and formatting\n\nRun Ruff checks:\n\n```bash\nuv run --group lint ruff check .\n```\n\nCheck formatting:\n\n```bash\nuv run --group lint ruff format --check .\n```\n\nApply formatting:\n\n```bash\nuv run --group lint ruff format .\n```\n\n## Build\n\nBuild source distribution and wheel:\n\n```bash\nuv build\n```\n\nThe generated artifacts are written to `dist/`.\n\n## Development workflow\n\nA typical local workflow is:\n\n```bash\nuv sync --all-groups\nuv run --group lint ruff check .\nuv run --group lint ruff format --check .\nuv run --group test pytest\nuv build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocitec%2Fgherkin-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprocitec%2Fgherkin-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocitec%2Fgherkin-lint/lists"}