forked from buddy-compiler/buddy-mlir
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.59 KB
/
pyproject.toml
File metadata and controls
73 lines (64 loc) · 1.59 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[build-system]
requires = [
"setuptools>=69",
"wheel",
"build>=1.2"
]
build-backend = "setuptools.build_meta"
[project]
name = "buddy"
description = "An MLIR-based compiler framework bridging DSLs to DSAs."
requires-python = ">=3.10"
dynamic = ["entry-points", "scripts", "version"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "buddy.__version__" }
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # Pyflakes
"UP", # pyupgrade
"W", # pycodestyle warnings
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"B905", # zip-without-explicit-strict
"B007",
"B011",
"F821", # Undefined name
"F403", # from module import *
"F405", # Name may be undefined
"E501", # Line too long
# "F401", # Unused import
# "E203", # Whitespace before ':'
# "E402", # Module level import not at top of file
"E501", # Line too long
# "E401", # Multiple imports on one line
# "W605", # Invalid escape sequence
# "E712", # Comparison to True/False
"E711", # Comparison to None
"E712", # true-false-comparison
"F841", # Unused variable
"C403", # unnecessary-list-comprehension-set
"C416", # unnecessary-comprehension
"E741",
"SIM101",
"SIM102",
"SIM103",
"SIM105",
"SIM108",
"SIM118",
"UP031",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true