@@ -55,37 +55,6 @@ all = [
5555[tool.flit.module]
5656name = "mujoco_playground"
5757
58- [tool.ruff]
59- lint.select = [
60- "E", # pycodestyle errors.
61- "F", # Pyflakes rules.
62- "PLC", # Pylint convention warnings.
63- "PLE", # Pylint errors.
64- "PLR", # Pylint refactor recommendations.
65- "PLW", # Pylint warnings.
66- "I" # Import sorting.
67- ]
68- lint.ignore = [
69- "E741", # Ambiguous variable name. (l, O, or I)
70- "E501", # Line too long.
71- "PLR2004", # Magic value used in comparison.
72- "PLR0915", # Too many statements.
73- "PLR0913", # Too many arguments.
74- "PLC0414", # Import alias does not rename variable. (this is used for exporting names)
75- "PLC1901", # Use falsey strings.
76- "PLR5501", # Use `elif` instead of `else if`.
77- "PLR0911", # Too many return statements.
78- "PLR0912", # Too many branches.
79- "PLW0603", # Global statement updates are discouraged.
80- "PLW2901" # For loop variable overwritten.
81- ]
82- exclude = [
83- "mujoco_menagerie/",
84- ]
85-
86- [tool.black]
87- extend-exclude = "mujoco_menagerie/"
88-
8958[tool.mypy]
9059python_version = "3.12"
9160ignore_missing_imports = true
@@ -96,6 +65,10 @@ exclude = ["scripts/", "mujoco_menagerie/"]
9665addopts = [
9766 "--ignore=mujoco_menagerie",
9867]
99- testpaths = [
100- "tests",
101- ]
68+
69+ [tool.pyink]
70+ line-length = 80
71+ unstable = true
72+ pyink-indentation = 2
73+ pyink-use-majority-quotes = true
74+ extend-exclude = "mujoco_menagerie/"
0 commit comments