From a914a246e6dd6203d0843a5429cbed24972bc498 Mon Sep 17 00:00:00 2001 From: "Hendry, Adam" Date: Tue, 28 Jun 2022 12:47:15 -0700 Subject: [PATCH] feat(requirements): add `toml` This package supports reading `pyproject.toml`, which is required for some of our tests. --- .ci/azure-pipelines.yml | 2 +- environment.yml | 1 + requirements_docs.txt | 1 + requirements_test.txt | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 7538e638..7949eb49 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -52,7 +52,7 @@ stages: inputs: versionSpec: '3.7' - script: | - pip install codespell pydocstyle + pip install codespell pydocstyle[toml] make doctest displayName: 'Run doctest' diff --git a/environment.yml b/environment.yml index 2e7d2407..6dfe456f 100644 --- a/environment.yml +++ b/environment.yml @@ -12,6 +12,7 @@ dependencies: - pytest-qt - qtpy>=1.9.0 - scooby>=0.5.1 + - toml - pip - pip: - vtk diff --git a/requirements_docs.txt b/requirements_docs.txt index a58307e0..71932dd1 100644 --- a/requirements_docs.txt +++ b/requirements_docs.txt @@ -14,3 +14,4 @@ sphinx-notfound-page==0.8 sphinx-rtd-theme==1.0.0 sphinxcontrib-napoleon==0.7 sphinxcontrib-websupport==1.2.4 +toml==0.10.2 \ No newline at end of file diff --git a/requirements_test.txt b/requirements_test.txt index be960859..c5537c53 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -7,7 +7,7 @@ isort==5.10.1 mypy==0.961 numpy==1.21.6 pycodestyle==2.8.0 -pydocstyle[toml]==6.1.1 +pydocstyle==6.1.1 pylint==2.13.0 pytest==7.1.2 pytest-cov==3.0.0 @@ -21,4 +21,5 @@ flake8-isort==4.1.1 flake8-quotes==3.3.1 check-jsonschema==0.16.1 pre-commit==2.19.0 -pre-commit-hooks==4.3.0 \ No newline at end of file +pre-commit-hooks==4.3.0 +toml==0.10.2 \ No newline at end of file