From 1aba145bc6f8f944cd66a5710a7d7d46bd4fe841 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Mon, 15 Jul 2019 09:32:26 +0200 Subject: [PATCH] Split requirements into requirements.txt and requirements-lint.txt I'm doing this because it makes sense to separate which requirements are needed to develop the package and which are purely needed for static code analysis. That said, the trigger for this commit was that ReadTheDocs automatically tries to install everything that's in requirements.txt and, since `black` isn't available on Python 2.7, it was failing. See https://readthedocs.org/projects/mongoengine-odm/builds/9371765/. Refs #2105 --- requirements-lint.txt | 3 +++ requirements.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 requirements-lint.txt diff --git a/requirements-lint.txt b/requirements-lint.txt new file mode 100644 index 00000000..9dc6123b --- /dev/null +++ b/requirements-lint.txt @@ -0,0 +1,3 @@ +black +flake8 +flake8-import-order diff --git a/requirements.txt b/requirements.txt index 62ad8766..46eabac3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,5 @@ -black nose pymongo>=3.4 six==1.10.0 -flake8 -flake8-import-order Sphinx==1.5.5 sphinx-rtd-theme==0.2.4