Scrapy, a fast high-level web crawling & scraping framework for Python.
adding pre-commit with config
Emmanuel Rondanc48accf7cae2
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlnew file mode 100644index 000000000..bbae805af--- /dev/null+++ b/.pre-commit-config.yaml@@ -0,0 +1,20 @@+repos:+- repo: https://github.com/PyCQA/bandit+ rev: 1.7.4+ hooks:+ - id: bandit+ args: [-r, -c, .bandit.yml]+- repo: https://github.com/PyCQA/flake8+ rev: 6.0.0+ hooks:+ - id: flake8+- repo: https://github.com/PyCQA/pylint+ rev: v2.15.6+ hooks:+ - id: pylint+ args: [conftest.py, docs, extras, scrapy, setup.py, tests]+- repo: https://github.com/psf/black.git+ rev: 22.12.0+ hooks:+ - id: black+ args: [--line-length=79]diff --git a/tox.ini b/tox.iniindex 913b8045e..e37ae4579 100644--- a/tox.ini+++ b/tox.ini@@ -200,7 +200,7 @@ commands =[testenv:black]deps =- black==22.10.0+ black==22.12.0commands =black {posargs:--check .}\ No newline at end of file