{"id":19536749,"url":"https://github.com/sigmapitech/cs","last_synced_at":"2026-03-27T04:52:42.574Z","repository":{"id":189778081,"uuid":"656455106","full_name":"Sigmapitech/cs","owner":"Sigmapitech","description":"Porting the epitech coding style to Nix","archived":false,"fork":false,"pushed_at":"2025-02-22T15:01:21.000Z","size":41,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-04T14:37:52.069Z","etag":null,"topics":["coding-style","epitech","nix"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Sigmapitech.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,"publiccode":null,"codemeta":null}},"created_at":"2023-06-21T02:03:41.000Z","updated_at":"2025-02-22T15:01:24.000Z","dependencies_parsed_at":"2023-11-09T12:41:17.753Z","dependency_job_id":"438e8207-1f55-48d8-a286-6a09e4e3ca5a","html_url":"https://github.com/Sigmapitech/cs","commit_stats":null,"previous_names":["sigmapitech/cs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmapitech%2Fcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmapitech%2Fcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmapitech%2Fcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmapitech%2Fcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sigmapitech","download_url":"https://codeload.github.com/Sigmapitech/cs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251001730,"owners_count":21521005,"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":["coding-style","epitech","nix"],"created_at":"2024-11-11T02:24:10.348Z","updated_at":"2026-03-27T04:52:37.545Z","avatar_url":"https://github.com/Sigmapitech.png","language":"Python","readme":"# CS: Coding-Style script on nix\n\n## Example usage\n\n```sh\nnix run github:Sigmapitech/cs -- . --include-tests --ignore-rules=C-G1,C-O3\n```\n\n## Options\n\n- `path`: Specifies the location where the coding style will be checked, defaulting to `.`\n- `--ignore-rules`: Specifies a list of rules to be ignored, separated by commas\n- `--ignore-folders`: Specifies a list of folders to be ignored within the search path, separated by commas\n- `--include-tests`: Specifies whether to include the test folder for checking, disabled by default\n- `-h`, `--help`: Display an help message\n\n## Integrate within your `flake.nix`\n\nTo have access to a custom `cs` script with you own flags in your flake project,\nyou can add it you from flake inputs and export a wrapped version.\n\nHere is a minimal example.\n\n```nix\n{\n  inputs = {\n    nixpkgs.url = \"github:NixOS/nixpkgs/nixos-unstable\";\n    utils.url = \"github:numtide/flake-utils\";\n\n    cs-flake.url = \"github:Sigmapitech/cs\";\n  };\n\n  outputs = { self, nixpkgs, cs-flake, utils }:\n    utils.lib.eachDefaultSystem (system:\n      let\n        pkgs = nixpkgs.legacyPackages.${system};\n      in\n      {\n        devShell = let\n          cs = pkgs.writeShellScriptBin \"cs\" ''\n            ${cs-flake.packages.${system}.report}/bin/cs -- \\\n              --ignore-folders=docs,assets\n        '';\n        in pkgs.mkShell {\n          packages = [ cs ];\n        };\n      });\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigmapitech%2Fcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsigmapitech%2Fcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigmapitech%2Fcs/lists"}