From c43eb902ce0443eca33e8f847c4fd0a3e1c06810 Mon Sep 17 00:00:00 2001 From: AlexVCaron Date: Mon, 8 Jan 2024 21:05:03 +0000 Subject: [PATCH] add missing files --- .pre-commit-config.yaml | 28 ++++++++++++++++++++++++++++ requirements.txt | 20 ++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .pre-commit-config.yaml create mode 100644 requirements.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..ad23a3c89 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,28 @@ +repos: + - repo: https://github.com/psf/black + rev: 23.1.0 + hooks: + - id: black + - repo: https://github.com/pycqa/isort + rev: 5.12.0 + hooks: + - id: isort + - repo: https://github.com/pre-commit/mirrors-prettier + rev: "v2.7.1" + hooks: + - id: prettier + - repo: https://github.com/asottile/pyupgrade + rev: v3.15.0 + hooks: + - id: pyupgrade + args: [--py38-plus] + - repo: https://github.com/pre-commit/mirrors-mypy + rev: "v1.7.1" # Use the sha / tag you want to point at + hooks: + - id: mypy + additional_dependencies: + - types-PyYAML + - types-requests + - types-jsonschema + - types-Markdown + - types-setuptools diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..add52f4bc --- /dev/null +++ b/requirements.txt @@ -0,0 +1,20 @@ +click +filetype +GitPython +jinja2 +jsonschema>=3.0 +markdown>=3.3 +packaging +pre-commit +prompt_toolkit>=3.0.3 +pytest>=7.0.0 +pytest-workflow>=1.6.0 +pyyaml +questionary>=1.8.0 +refgenie +requests +requests_cache +rich-click>=1.6.1 +rich>=13.3.1 +tabulate +pdiff