{"id":19006379,"url":"https://github.com/anty-filidor/template-python","last_synced_at":"2026-05-08T16:47:46.347Z","repository":{"id":186309092,"uuid":"459997566","full_name":"anty-filidor/template-python","owner":"anty-filidor","description":"Template project for python with linters","archived":false,"fork":false,"pushed_at":"2025-12-26T17:26:41.000Z","size":57,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-28T06:51:02.182Z","etag":null,"topics":["linters","python","software-engineering","template"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anty-filidor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-02-16T12:36:55.000Z","updated_at":"2023-08-05T10:35:51.000Z","dependencies_parsed_at":"2024-04-06T11:22:43.384Z","dependency_job_id":"dda6b2d4-51f4-400c-ac7d-60e70d09fd65","html_url":"https://github.com/anty-filidor/template-python","commit_stats":null,"previous_names":["anty-filidor/template-python"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/anty-filidor/template-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anty-filidor%2Ftemplate-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anty-filidor%2Ftemplate-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anty-filidor%2Ftemplate-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anty-filidor%2Ftemplate-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anty-filidor","download_url":"https://codeload.github.com/anty-filidor/template-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anty-filidor%2Ftemplate-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32789360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["linters","python","software-engineering","template"],"created_at":"2024-11-08T18:32:07.268Z","updated_at":"2026-05-08T16:47:46.307Z","avatar_url":"https://github.com/anty-filidor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template with `pre-commit` configuration for your Python project!\n\n## How does it work?\n\n`pre-commit` is a tool that runs so-called hooks at every attempt to commit\nchanges that have been made in the repository. This project contains such\nconfiguration files, that makes from it a useful tool to validate Python code\nagainst official style guides.\n\n## How to install it?\n\nIn order to use this repo you need to be familiar with concept of\n[git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules).\n\n1. Add this repo as a submodule to your project:\n   `git submodule add git@github.com:anty-filidor/template-python.git template-python`\n2. Integrate contents of `.gitignore` defined in the `pre-commit-template` with\n   your project (optional):\n   `git config core.excludesFile template-python/.gitignore`\n3. Install `pre-commit` library: `pip install pre-commit pylint_django clang-format`\n4. Init hooks:\n   `pre-commit install --config template-python/.pre-commit-config.yaml`\n5. To update the `pre-commit` configuration type:\n   `git submodule update --remote --merge` (that command updates all submodules\n   added to the project)\n\n## How to work with it?\n\nAfter the `pre-commit` is successfully installed you can basically work just as\nbefore. The main difference you will notice is that after you execute\n`git commit` command, several tools will be ran to check your code and, in\ncase of detection of issues, the \"commit\" operation will be aborted. There is\nalso one issue worth of noting: conflict of `pre-commit` with GUI tools for\nGit. They just don't like themselves, so that you will be able to use only CLI\nfor committing your changes in the codebase. The last important thing is a\npossibility to skip code validation. In case of need to quickly save your work\nand push it to the GitLab you can skip `pre-commit` execution by adding flag\n`--no-verify` at the very end of the `git commit` command. Remember to add\n`WIP:` prefix to the commit name then.\n\n## Pre-commit vs linters in your IDE\n\nOf course, it's possible, but why? Pre-commit will do its job regardless your \nlocal IDE configuration... Anyway, if you're so determined, then here is a\ntrick: create symbolic links to (or just copy) configuration files of the hooks. \nThis will provide at least a bit of consistency between your IDE and pre-commit\n(for instance it's hardly probable the version of black you have will be the \nsame as in the `yaml` file).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanty-filidor%2Ftemplate-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanty-filidor%2Ftemplate-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanty-filidor%2Ftemplate-python/lists"}