Compare commits

..

No commits in common. "5c9d51386c7af58c704c6a864c169862946c997f" and "ca2956b678d6db4d8261a317fedd850a3fe5cf31" have entirely different histories.

2 changed files with 17 additions and 42 deletions

View File

@ -57,9 +57,7 @@ max_line_length = 80
[*.py]
indent_style = space
indent_size = 4
#max_line_length = 79
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
max_line_length = 88
max_line_length = 79
# Ruby
#[*.rb]

View File

@ -1,6 +1,6 @@
ci:
# Attempts to use networking and fails at name resolution, local hook
# skip: [bundler-audit, pylint]
# Attempts to use networking and fails at name resolution
skip: [bundler-audit]
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83
@ -33,27 +33,21 @@ repos:
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
args: [--update-only, --notitle]
# Python type checking
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v1.3.0"
# hooks:
# - id: mypy
# GitHub Actions etc. configuration validity checking
# - repo: https://github.com/python-jsonschema/check-jsonschema
# rev: 0.23.0
# hooks:
# - id: check-dependabot
# - id: check-github-actions
# - id: check-github-workflows
# - id: check-gitlab-ci
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.0
hooks:
- id: check-dependabot
- id: check-github-actions
- id: check-github-workflows
- id: check-gitlab-ci
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
# rev: 3.0.0
# hooks:
# - id: bundler-audit
# https://github.com/jumanjihouse/pre-commit-hooks/issues/111
#- id: check-mailmap
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: bundler-audit
# https://github.com/jumanjihouse/pre-commit-hooks/issues/111
#- id: check-mailmap
# Easierish licensing when attempting reuse compliancy
#- repo: https://github.com/fsfe/reuse-tool
@ -63,19 +57,11 @@ repos:
# prettier & editorconfig checker should probably be ran last
# prettier, opinionated code formatter
# prettier
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.9-for-vscode"
hooks:
- id: prettier
exclude_types: [python, pyi, jupyter]
# Black, opinionated Python code formatter
# - repo: https://github.com/psf/black
# rev: 23.3.0
# hooks:
# - id: black
#- id: black-jupyter
# .editorconfig validity checking
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
@ -85,12 +71,3 @@ repos:
alias: ec
# I don't actually care about line lengths as more than a guideline
args: [-disable-max-line-length]
# # Python linter
# - repo: local
# hooks:
# - id: pylint
# name: pylint
# entry: pylint
# language: system
# types_or: [python, pyi]