-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
44 lines (39 loc) · 883 Bytes
/
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
[build-system]
requires = ["setuptools>=59", "wheel", "pyvex==9.2.116.dev0", "unicorn==2.0.1.post1"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
target-version = ['py310']
force-exclude = '''
/(
angr\/protos
| angr\/procedures\/definitions
)/
'''
[tool.ruff]
line-length = 120
exclude = [
"*_pb2.py", # Autogenerated protobuf files
]
[tool.ruff.lint]
extend-ignore = [
"E402", # Bottom imports
"E721", # Type comparisons
"E741", # Variable names
]
[tool.ruff.lint.per-file-ignores]
"angr/misc/bug_report.py" = [
"F821", # name not found
]
"angr/procedures/definitions/*" = [ # TODO: Move to exclude
"F601", # TODO: BUG! This hides bugs! See: https://github.com/angr/angr/issues/3685
"E501", # No line length check
"F401",
]
"angr/state_plugins/solver.py" = [
"E501", # Long docstrings with examples
]
"__init__.py" = [
"F401",
"F403",
]