-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (37 loc) · 1.02 KB
/
pyproject.toml
File metadata and controls
42 lines (37 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tool.poetry]
authors = [
"Jacob Cook <j.cook17@imperial.ac.uk>",
]
description = "A repository for R analysis code related to the 2024 SAFE soil nutrients campaign"
license = "BSD-3-Clause"
name = "safe_spatial_stats"
package-mode = false
readme = "README.md"
repository = "https://github.com/jacobcook1995/safe_spatial_stats"
version = "0.1.0"
[tool.poetry.dependencies]
pre-commit = "^4.1.0"
python = ">=3.10,<3.14"
ruff = "^0.9.3"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=2.0.0,<3.0.0"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
# Enable all `pydocstyle` rules, limiting to those that adhere to the
# Google convention via `convention = "google"`, below.
select = [
"E", # pycodestyle
"F", # pyflakes
"D", # pydocstyle
"I", # isort
"UP", # pyupgrade
"RUF", # ruff-only checking
"NPY201", # Numpy 2.0.1
]
# On top of the Google convention, disable:
ignore = [
"D202", # Blank line after docstring is ok
"D107", # Location of __init__ docstring in class not __init__"
]