From 2e150f08bafbb13e55321de608161a3e4aab41bd Mon Sep 17 00:00:00 2001 From: "Nir.Tal" Date: Mon, 10 Jun 2024 22:20:27 +0300 Subject: [PATCH] wip --- .github/CODE_OF_CONDUCT.md | 2 +- .pre-commit-config.yaml | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 8c6c7ae0e7..f7ecb50653 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal +level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c9e9dd55b3..a15be80476 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,14 +3,14 @@ repos: rev: v4.6.0 hooks: - id: check-yaml + - id: check-toml + - id: check-json + - id: check-xml - id: end-of-file-fixer - id: trailing-whitespace - - id: check-toml - id: check-docstring-first - - id: check-xml - id: name-tests-test - id: file-contents-sorter - - id: check-json - id: pretty-format-json args: [ --autofix ] - id: check-ast @@ -23,6 +23,18 @@ repos: - id: detect-private-key - id: no-commit-to-branch args: [ '--branch', 'main' ] + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.28.4 + hooks: + - id: check-github-workflows + args: ["--verbose"] + - id: check-renovate + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v2.1.1 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: [] - repo: https://github.com/psf/black rev: 24.4.2 hooks: