-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (51 loc) · 1.47 KB
/
pyproject.toml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[project]
name = "neuroprocessing"
description = "Image processing pipeline and figure generation for the pub `Label-free neuroimaging in mice captures sensory activity in response to tactile stimuli and acute pain, but not itch`"
version = "1.0"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Ryan Lane", email = "[email protected]" },
{ name = "Ilya Kolb", email = "[email protected]" },
{ name = "Michael Reitman", email = "[email protected]" }
]
[tool.ruff]
# The directories to consider when resolving first- vs. third-party imports
src = ["."]
line-length = 100
indent-width = 4
# run ruff on jupyter notebooks (this is not enabled by default)
extend-include = ["*.ipynb"]
[tool.ruff.lint.per-file-ignores]
# ignore star and unused imports
"__init__.py" = ["F403", "F405"]
[tool.ruff.lint]
select = [
# flake8-bugbear
"B",
# pycodestyle error
"E",
# pyflakes
"F",
# isort
"I",
# pyupgrade
"UP",
# pycodestyle warning
"W",
]
# rule codes to ignore
ignore = []
# Allows fix for all enabled rules when `--fix` is provided
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
# Like Black, use double quotes, indent with spaces, and respect trailing commas
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
order-by-type = true
no-lines-before = ["future", "standard-library"]