forked from NovaSky-AI/SkyRL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (55 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
58 lines (55 loc) · 1.28 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
[project]
name = "skyrl"
version = "0.1.0"
description = "A Post-Training Stack for LLMs"
authors = [
{ name = "NovaSkyAI Team"}
]
license = { text = "MIT" }
readme = "README.md"
requires-python = "==3.12.*"
[tool.black]
line-length = 120
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.flake8]
max-line-length = 120
max-doc-length = 120
extend-ignore = [
# Default ignored errors by flake8
"E121", "E123", "E126", "E226", "E24", "E704",
# F401 module imported but unused
"F401",
# E203 whitespace before ':' (conflict with black)
"E203",
# E231 missing whitespace after ',' (conflict with black)
"E231",
# E501 line too long (conflict with black)
"E501",
# E741 do not use variables named 'l', 'O', or 'I'
"E741",
# W503 line break before binary operator (conflict with black)
"W503",
# W504 line break after binary operator (conflict with black)
"W504",
# W505 doc line too long (conflict with black)
"W505",
# W605 invalid escape sequence 'x' (conflict with latex within docs)
"W605",
]
[tool.ruff.lint]
ignore = [
"F722" # Syntax error in annotation - ignored because this doesn't play well with jaxtyping
]