Browse Source

Imported fixes from fpydocs.

master
Franco Masotti 6 months ago
parent
commit
db176dc644
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 2
      .pre-commit-config.yaml
  2. 6
      Makefile
  3. 7
      Pipfile

2
.pre-commit-config.yaml

@ -10,7 +10,7 @@ repos:
- id: check-added-large-files
- repo: https://github.com/frnmst/md-toc
rev: '8.0.1' # or a specific git tag from md-toc
rev: '8.1.0' # or a specific git tag from md-toc
hooks:
- id: md-toc
args: [-p, 'github', '-l6'] # CLI options

6
Makefile

@ -8,8 +8,14 @@ default: install-dev
install-dev:
pipenv install --dev
pipenv run pre-commit install
pipenv graph
pipenv check
uninstall-dev:
rm -f Pipfile.lock
pipenv --rm
update:
pipenv run pre-commit autoupdate
.PHONY: default install-dev uninstall-dev

7
Pipfile

@ -3,10 +3,5 @@ url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
[dev-packages]
pre-commit = '~=2.13'
[requires]
python_version = "*"
pre-commit = '>=2'