diff --git a/.cruft.json b/.cruft.json index 38522de..eda7a26 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/iterative/py-template", - "commit": "7e84a4db09bcce97c8c206eb644c409f8ed7b565", + "commit": "84a385c99003c39632dfe985bf0ca4ed08235f36", "context": { "cookiecutter": { "project_name": "dvc-render", @@ -14,7 +14,7 @@ "license": "Apache-2.0", "docs": "True", "short_description": "", - "development_status": "Development Status :: 1 - Planning", + "development_status": "Development Status :: 4 - Beta", "_template": "https://github.com/iterative/py-template" } }, diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b71af7d..bdb47f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,30 +2,32 @@ default_language_version: python: python3 repos: - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.6.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.3.0 hooks: - id: check-added-large-files - id: check-case-conflict - id: check-docstring-first - id: check-executables-have-shebangs - - id: check-toml + - id: check-json - id: check-merge-conflict + - id: check-toml - id: check-yaml - id: debug-statements - id: end-of-file-fixer - id: mixed-line-ending + args: ['--fix=lf'] - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.1.0 + rev: v2.2.1 hooks: - id: codespell - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.37.3 hooks: - id: pyupgrade - repo: https://github.com/PyCQA/isort @@ -33,14 +35,12 @@ repos: hooks: - id: isort - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: - - flake8-bandit - - flake8-broken-line - - flake8-bugbear - - flake8-comprehensions - - flake8-debugger - - flake8-string-format - - bandit<1.7.3 + - flake8-broken-line==0.5.0 + - flake8-bugbear==22.8.23 + - flake8-comprehensions==3.10.0 + - flake8-debugger==4.1.2 + - flake8-string-format==0.3.0