Browse Source

Updated dependencies.

dev
Franco Masotti 1 year ago
parent
commit
63960122ae
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 10
      .pre-commit-config.yaml
  2. 8
      Pipfile

10
.pre-commit-config.yaml

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@ -10,26 +10,26 @@ repos:
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-yapf
rev: 'v0.30.0' # Use the sha / tag you want to point at
rev: 'v0.31.0' # Use the sha / tag you want to point at
hooks:
- id: yapf
args: ['--style', '{based_on_style: pep8; indent_width: 4}']
- repo: https://gitlab.com/pycqa/flake8
rev: '3.8.3' # Use the sha / tag you want to point at
rev: '3.9.2' # Use the sha / tag you want to point at
hooks:
- id: flake8
args: ['--ignore=E125,E126,F401,E501,W503,W504']
additional_dependencies: [flake8-docstrings]
- repo: https://github.com/PyCQA/bandit
rev: '1.6.2' # Use the sha / tag you want to point at
rev: '1.7.0' # Use the sha / tag you want to point at
hooks:
- id: bandit
args: ['--skip', 'B320,B404,B410,B603', '--level', 'LOW']
- repo: https://github.com/twu/skjold
rev: 'v0.1.6'
rev: 'v0.2.1'
hooks:
- id: skjold
args: ['-s', 'gemnasium', '-s', 'pyup']

8
Pipfile

@ -26,12 +26,12 @@ verify_ssl = true
[dev-packages]
# Documentation.
Sphinx = "~=3.5"
Sphinx = "~=4.0"
sphinx-rtd-theme = '~=0.5'
# Tools.
twine = "~=3.4"
pre-commit = "~=2.11"
pre-commit = "~=2.13"
[packages]
requests = "~=2.25"
@ -40,7 +40,7 @@ atomicwrites = "~=1.4"
filetype = "~=1.0"
appdirs = "~=1.4"
PyYAML = "~=5.4"
fpyutils = "~=1.2"
fpyutils = "~=2.0"
[requires]
python_version = "3.9"
python_version = "*"

Loading…
Cancel
Save