Skip to content

Commit

Permalink
Remove setup.cfg (#223)
Browse files Browse the repository at this point in the history
* Remove setup.cfg

* Fixes

* Update doc check

* CI fix

* Update
  • Loading branch information
garth-wells authored Oct 16, 2023
1 parent 4b6142a commit f132188
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 73 deletions.
6 changes: 6 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
max-line-length = 120
builtins = ufl
exclude = doc/sphinx/source/conf.py
per-file-ignores =
*/__init__.py: F401
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
flake8 --statistics .
- name: Check documentation style
run: |
python -m pip install pydocstyle
python -m pip install pydocstyle[toml]
python -m pydocstyle ufl/
- name: Install UFL
run: python -m pip install .[ci]
Expand Down
50 changes: 49 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,52 @@
[build-system]
requires = ["setuptools>=62", "wheel"]

build-backend = "setuptools.build_meta"

[project]
name = "fenics-ufl"
version = "2023.3.0.dev0"
authors = [{email="[email protected]"}, {name="FEniCS Project"}]
maintainers = [{email="[email protected]"}, {name="FEniCS Project Steering Council"}]
description = "Unified Form Language"
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = ">=3.8.0"
dependencies = ["numpy"]

[project.urls]
homepage = "https://fenicsproject.org"
repository = "https://github.com/fenics/ufl.git"
documentation = "https://docs.fenicsproject.org"
issues = "https://github.com/FEniCS/ufl/issues"
funding = "https://numfocus.org/donate"

[project.optional-dependencies]
lint = ["flake8", "pydocstyle[toml]"]
docs = ["sphinx", "sphinx_rtd_theme"]
test = ["pytest"]
ci = [
"coveralls",
"coverage",
"pytest-cov",
"pytest-xdist",
"fenics-ufl[docs]",
"fenics-ufl[lint]",
"fenics-ufl[test]",
]

[tool.setuptools]
packages = [
"ufl",
"ufl.algorithms",
"ufl.core",
"ufl.corealg",
"ufl.formatting",
"ufl.legacy",
"ufl.utils",
]

[tool.pydocstyle]
convention = "google"

[itool.sort]
line_length = 120
71 changes: 0 additions & 71 deletions setup.cfg

This file was deleted.

0 comments on commit f132188

Please sign in to comment.