Commit 79fe842e authored by fagrenoble's avatar fagrenoble

ajout

parent d8a6afcb
Pipeline #183462 passed with stages
in 37 seconds
---
# .pre-commit-config.yaml
# ========================
#
# pre-commit clean
# pre-commit install
# pre-commit install-hooks
#
# precommit hooks installation
#
# - pre-commit autoupdate
#
# - pre-commit run black
#
# continuous integration
# ======================
#
# - pre-commit run --all-files
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: fix-encoding-pragma
args: ['--remove']
- id: forbid-new-submodules
- id: mixed-line-ending
args: ['--fix=lf']
description: Forces to replace line ending by the UNIX 'lf' character.
# - id: pretty-format-json
# args: ['--no-sort-keys']
- id: check-added-large-files
args: ['--maxkb=500']
- id: no-commit-to-branch
args: [--branch, staging]
- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- id: black
language_version: python3.8
......@@ -3,18 +3,43 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = python -msphinx
SPHINXPROJ = DocpubliqueFAGrenoble
SPHINXBUILD = sphinx-build
SPHINXPROJ = Djangotutorials
SOURCEDIR = .
BUILDDIR = _build
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@echo " "
@echo "Targets:"
@echo " "
@echo "- make check_all"
@echo "- make req"
@echo "- make update"
@echo " "
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
\ No newline at end of file
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
check_all:
pre-commit run --all-files
req:
pipenv --venv
pipenv graph
pipenv check
pipenv lock -r > requirements.txt;
cat requirements.txt
git diff requirements.txt
update:
pipenv update
@$(MAKE) -f $(THIS_MAKEFILE) req
......@@ -10,7 +10,7 @@ sphinx = "*"
[dev-packages]
[requires]
python_version = "3.6"
python_version = "3.8"
[pipenv]
allow_prereleases = true
This diff is collapsed.
-i https://pypi.python.org/simple
alabaster==0.7.12
babel==2.6.0
certifi==2018.11.29
babel==2.7.0
certifi==2019.9.11
chardet==3.0.4
docutils==0.14
docutils==0.15.2
idna==2.8
imagesize==1.1.0
jinja2==2.10
jinja2==2.10.3
markupsafe==1.1.1
packaging==19.0
pendulum==2.0.4
pygments==2.3.1
pyparsing==2.3.1
python-dateutil==2.8.0
pytz==2018.9
pytzdata==2018.9
requests==2.21.0
six==1.12.0
snowballstemmer==1.2.1
sphinx==2.0.0b1
packaging==19.2
pendulum==2.0.5
pygments==2.4.2
pyparsing==2.4.4
python-dateutil==2.8.1
pytz==2019.3
pytzdata==2019.3
requests==2.22.0
six==1.13.0
snowballstemmer==2.0.0
sphinx==2.2.1
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.1
urllib3==1.24.1
sphinxcontrib-serializinghtml==1.1.3
urllib3==1.25.6
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment