Skip to content

Commit

Permalink
Adds support for Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumsden committed Apr 24, 2024
1 parent acbc9de commit 3c4d1c9
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
[build-system]
requires = [
"setuptools",
"wheel",
"Cython",
]
requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"

[tool.poetry]
Expand All @@ -17,6 +13,23 @@ authors = [
]
license = "MIT"

[tool.ruff]
line-length = 88
target-version = 'py37'
include = ['\.pyi?$']
exclude = [
".eggs",
".git",
".hg",
".mypy_cache",
".tox",
".venv",
"_build",
"buck-out",
"build",
"dist",
]

[tool.black]
line-length = 88
target-version = ['py27', 'py35', 'py36', 'py37', 'py38']
Expand Down

0 comments on commit 3c4d1c9

Please sign in to comment.