Skip to content

Commit

Permalink
add isort to pyproject.toml too
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 8, 2023
1 parent cc8f3a6 commit add075f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ dependencies = ["numpy>=1.21"]

[project.optional-dependencies]
docs = ["markdown", "pylit3", "pyyaml", "sphinx==5.0.2", "sphinx_rtd_theme"]
lint = ["flake8", "pydocstyle"]
lint = ["flake8", "pydocstyle", "isort"]
optional = ["numba", "fenics-ufl@git+https://github.com/fenics/ufl"]
test = ["pytest", "sympy", "scipy", "matplotlib", "fenics-basix[optional]"]
ci = ["mypy", "pytest-xdist", "fenics-basix[docs]", "fenics-basix[lint]",
"fenics-basix[optional]", "fenics-basix[test]"]
ci = ["mypy", "pytest-xdist", "fenics-basix[docs,lint,test,optional]"]

[tool.pytest.ini_options]
testpaths = ["test"]
Expand Down
3 changes: 1 addition & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ def build_extension(self, ext):
"lint": ["flake8", "pydocstyle", "isort"],
"optional": ["numba", "fenics-ufl@git+https://github.com/fenics/ufl"],
"test": ["pytest", "sympy", "scipy", "matplotlib", "fenics-basix[optional]"],
"ci": ["mypy", "pytest-xdist", "fenics-basix[docs]", "fenics-basix[lint]", "fenics-basix[optional]",
"fenics-basix[test]"]
"ci": ["mypy", "pytest-xdist", "fenics-basix[docs,lint,test,optional]"],
},
ext_modules=[CMakeExtension('basix._basixcpp')],
cmdclass=dict(build_ext=CMakeBuild),
Expand Down

0 comments on commit add075f

Please sign in to comment.