-
-
Notifications
You must be signed in to change notification settings - Fork 326
/
pyproject.toml
65 lines (59 loc) · 2.85 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
61
62
63
64
65
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ursina"
version = "7.0.0"
description = "An easy to use game engine/framework for python."
authors = [
"Petter Amland <[email protected]>",
]
license = "MIT"
homepage = "https://github.com/pokepetter/ursina"
keywords = ["game development"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10"
panda3d = "*"
panda3d-gltf = "*"
pillow = "*"
pyperclip = "*"
screeninfo = "*"
[tool.poetry.extras]
extras = ["numpy", "imageio", "psd-tools3", "psutil"]
[tool.ruff]
# Allow lines to be as long as 300 characters.
line-length = 300
lint.ignore-init-module-imports = true
# F403: ignore to allow `from my_module import *`
# E402: ignore to allow import not at top of file
# E722: ignore to allow bare except
# E405: ignore to allow undefined or from star import
# E741: ignore to allow single character variable names
# E711: ignore to allow var == None instead of var is None
# F401: ignore to allow importing all the stuff in __init__.py without using __all__
# E701: ignore to allow multiple statements on one line (colon). This is rarely done anyway.
lint.ignore = ["F403", "E402", "E722", "E713", "E741", "E711", "F401", "E701"]
# Make linter not complain about stuff imported with * import
builtins = [
"Ursina", "Path", "base", "loader", "render", "globalClock", "LEVEL_EDITOR",
"time", "random", "math", "copy", "deepcopy",
"floor", "ceil", "inf", "lerp", "inverselerp", "lerp_angle", "slerp", "distance", "distance_2d", "distance_xz", "clamp", "round_to_closest", "rotate_around_point_2d",
"Vec2", "Vec3", "Vec4", "Quat",
"window", "camera", "mouse", "scene", "application", "input_handler", "held_keys", "Keys",
"load_model", "load_texture", "load_blender_scene", "texture_importer", "Texture", "Shader",
"Entity", "Audio", "Text", "Button",
"color", "Color", "hsv", "rgb",
"dedent", "camel_to_snake", "snake_to_camel", "multireplace", "printvar", "print_info", "print_warning", "print_on_screen",
"chunk_list", "flatten_list", "flatten_completely", "size_list", "find_sequence",
"grid_layout",
"EditorCamera", "Empty", "LoopingList", "Default",
"Mesh", "MeshModes", "Quad", "Plane", "Circle", "Pipe", "Cone", "Cube", "Cylinder", "Capsule", "Grid", "Terrain",
"Func", "Wait", "Sequence", "invoke", "destroy", "duplicate",
"singleton", "generate_properties_for_class", "every", "after",
"BoxCollider", "SphereCollider", "CapsuleCollider", "MeshCollider",
"Animation", "SpriteSheetAnimation", "FrameAnimation3d", "Animator", "curve", "SmoothFollow",
"Sky", "DirectionalLight",
"Tooltip", "Sprite", "Draggable", "Panel", "Slider", "ThinSlider", "ButtonList", "ButtonGroup", "WindowPanel", "Space", "TextField", "InputField", "ContentTypes", "Cursor",
"raycast", "boxcast", "terraincast"
]