Skip to content

Commit 88e0982

Browse files
committed
Update pyproject.toml
1 parent 87f0e6d commit 88e0982

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

pyproject.toml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
15
[project]
26
name = "cax"
37
version = "0.3.0"
48
description = "Cellular Automata Accelerated in JAX"
59
authors = [{ name="Maxence Faldor", email="maxencefaldor@gmail.com" }]
610
readme = "README.md"
7-
license_files = ["LICENSE"]
11+
license = "MIT"
12+
license-files = ["LICENSE"]
813
requires-python = ">=3.11"
914
dependencies = [
1015
"jax>=0.8.0",
@@ -48,10 +53,6 @@ examples = [
4853
[project.urls]
4954
Homepage = "https://github.com/maxencefaldor/cax"
5055

51-
[build-system]
52-
requires = ["hatchling"]
53-
build-backend = "hatchling.build"
54-
5556
[tool.ruff]
5657
src = ["src", "tests"]
5758
target-version = "py311"
@@ -60,17 +61,17 @@ line-length = 100
6061
[tool.ruff.lint]
6162
select = ["E", "D", "F", "I", "N", "SIM", "UP", "W"]
6263
ignore = [
63-
"D203",
64-
"D206",
65-
"D213",
66-
"N803", # Argument name `A` should be lowercase
67-
"N806", # Variable `A` in function should be lowercase
68-
"W191", # Indentation contains tabs
64+
"D203", # incorrect-blank-line-before-class
65+
"D206", # docstring-tab-indentation
66+
"D213", # multi-line-summary-second-line
67+
"N803", # non-lowercase-variable-in-function
68+
"N806", # invalid-argument-name
69+
"W191", # tab-indentation
6970
]
7071

7172
[tool.ruff.lint.per-file-ignores]
7273
"**/*.ipynb" = [
73-
"F811", # Checks for variable definitions that redefine (or "shadow") unused variables.
74+
"F811", # redefined-while-unused
7475
]
7576

7677
[tool.ruff.format]

0 commit comments

Comments
 (0)