exclude: > (?x)( LICENSE$| \.snap$| \.map$| \.map\.js$| ^tests/sentry/lang/.*/fixtures/| ^tests/fixtures/| ^src/sentry/static/sentry/vendor/| ^tests/sentry/lang/javascript/example-project/| ^src/.*/locale/| ^src/sentry/data/ ) repos: - repo: local hooks: # Configuration for black exists in pyproject.toml, # but we let pre-commit take care of the file filtering. - id: black name: black entry: black language: python types: [python] # Configuration for flake8 exists in setup.cfg, # but we let pre-commit take care of the file filtering. - id: flake8 name: flake8 entry: flake8 language: python types: [python] log_file: '.artifacts/flake8.pycodestyle.log' - repo: https://github.com/sirosen/check-jsonschema rev: 0.3.0 hooks: - id: check-github-actions - id: check-github-workflows - repo: git://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-case-conflict - id: check-executables-have-shebangs - id: check-merge-conflict - id: check-symlinks - id: end-of-file-fixer exclude_types: [svg] - id: trailing-whitespace exclude_types: [svg] - id: debug-statements # - repo: git://github.com/getsentry/pre-commit-hooks # rev: f3237d2d65af81d435c49dee3593dc8f03d23c2d # hooks: # - id: prettier # - id: eslint # args: ['--format=checkstyle'] # log_file: '.artifacts/eslint.checkstyle.xml'