mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-19 12:47:27 +02:00
Compare commits
No commits in common. "5c9d51386c7af58c704c6a864c169862946c997f" and "ca2956b678d6db4d8261a317fedd850a3fe5cf31" have entirely different histories.
5c9d51386c
...
ca2956b678
@ -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]
|
||||
|
@ -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,25 +33,19 @@ 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
|
||||
- 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
|
||||
|
||||
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user