From d96a93dd8a1e2c02a890ab894200e66347ea8135 Mon Sep 17 00:00:00 2001 From: diegoferigo Date: Thu, 4 Jul 2024 11:09:21 +0200 Subject: [PATCH] Update formatting of pyproject.toml --- pyproject.toml | 134 ++++++++++++++++++++++++------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9fa9265c..e3abd4ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,11 +4,11 @@ dynamic = ["version"] requires-python = ">= 3.10" description = "A differentiable physics engine and multibody dynamics library for control and robot learning." authors = [ - { name = "Diego Ferigo", email = "dgferigo@gmail.com" }, + { name = "Diego Ferigo", email = "dgferigo@gmail.com" }, ] maintainers = [ - { name = "Diego Ferigo", email = "dgferigo@gmail.com" }, - { name = "Filippo Luca Ferretti", email = "filippo.ferretti@iit.it" }, + { name = "Diego Ferigo", email = "dgferigo@gmail.com" }, + { name = "Filippo Luca Ferretti", email = "filippo.ferretti@iit.it" }, ] license.file = "LICENSE" keywords = [ @@ -24,23 +24,23 @@ keywords = [ "urdf", ] classifiers = [ - "Development Status :: 4 - Beta", - "Framework :: Robot Framework", - "Intended Audience :: Developers", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: BSD License", - "Operating System :: POSIX :: Linux", - "Operating System :: MacOS", - "Operating System :: Microsoft", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: Implementation :: CPython", - "Topic :: Games/Entertainment :: Simulation", - "Topic :: Scientific/Engineering :: Artificial Intelligence", - "Topic :: Scientific/Engineering :: Physics", - "Topic :: Software Development", + "Development Status :: 4 - Beta", + "Framework :: Robot Framework", + "Intended Audience :: Developers", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: BSD License", + "Operating System :: POSIX :: Linux", + "Operating System :: MacOS", + "Operating System :: Microsoft", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: Implementation :: CPython", + "Topic :: Games/Entertainment :: Simulation", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "Topic :: Scientific/Engineering :: Physics", + "Topic :: Software Development", ] dependencies = [ "coloredlogs", @@ -55,23 +55,23 @@ dependencies = [ [project.optional-dependencies] style = [ - "black[jupyter] ~= 24.0", - "isort", - "pre-commit", + "black[jupyter] ~= 24.0", + "isort", + "pre-commit", ] testing = [ - "idyntree >= 12.2.1", - "pytest >=6.0", - "pytest-icdiff", - "robot-descriptions", + "idyntree >= 12.2.1", + "pytest >=6.0", + "pytest-icdiff", + "robot-descriptions", ] viz = [ - "lxml", - "mediapy", - "mujoco >= 3.0.0", + "lxml", + "mediapy", + "mujoco >= 3.0.0", ] all = [ - "jaxsim[style,testing,viz]", + "jaxsim[style,testing,viz]", ] [project.readme] @@ -91,13 +91,13 @@ Tracker = "https://github.com/ami-iit/jaxsim/issues" [build-system] build-backend = "setuptools.build_meta" requires = [ - "setuptools>=64", - "setuptools-scm[toml]>=8", - "wheel", + "setuptools>=64", + "setuptools-scm[toml]>=8", + "wheel", ] [tool.setuptools] -package-dir = {"" = "src"} +package-dir = { "" = "src" } [tool.setuptools_scm] local_scheme = "dirty-tag" @@ -118,7 +118,7 @@ profile = "black" addopts = "-rsxX -v --strict-markers" minversion = "6.0" testpaths = [ - "tests", + "tests", ] # ================== @@ -127,37 +127,37 @@ testpaths = [ [tool.ruff] exclude = [ - ".git", - ".pytest_cache", - ".ruff_cache", - ".vscode", - ".devcontainer", - "__pycache__", + ".git", + ".pytest_cache", + ".ruff_cache", + ".vscode", + ".devcontainer", + "__pycache__", ] preview = true [tool.ruff.lint] # https://docs.astral.sh/ruff/rules/ select = [ - "B", - "E", - "F", - "I", - "W", - "RUF", - "YTT", + "B", + "E", + "F", + "I", + "W", + "RUF", + "YTT", ] ignore = [ - "B008", # Function call in default argument - "B024", # Abstract base class without abstract methods - "E402", # Module level import not at top of file - "E501", # Line too long - "E731", # Do not assign a `lambda` expression, use a `def` - "E741", # Ambiguous variable name - "F841", # Local variable is assigned to but never used - "I001", # Import block is unsorted or unformatted - "RUF003", # Ambigous unicode character in comment + "B008", # Function call in default argument + "B024", # Abstract base class without abstract methods + "E402", # Module level import not at top of file + "E501", # Line too long + "E731", # Do not assign a `lambda` expression, use a `def` + "E741", # Ambiguous variable name + "F841", # Local variable is assigned to but never used + "I001", # Import block is unsorted or unformatted + "RUF003", # Ambigous unicode character in comment ] [tool.ruff.lint.per-file-ignores] @@ -191,9 +191,9 @@ sdformat14 = "*" typing_extensions = "*" [tool.pixi.feature.test.tasks] -examples = {cmd = "jupyter notebook ./examples"} +examples = { cmd = "jupyter notebook ./examples" } pipcheck = "pip check" -test = {cmd = "pytest", depends_on = ["pipcheck"]} +test = { cmd = "pytest", depends_on = ["pipcheck"] } [tool.pixi.feature.test.dependencies] black = "24.*" @@ -206,15 +206,15 @@ pytest-icdiff = "*" robot_descriptions = "*" [tool.pixi.feature.gpu] -dependencies = {cuda-version = "12.*", cuda-cupti = "*", jaxlib = "**cuda*"} +dependencies = { cuda-version = "12.*", cuda-cupti = "*", jaxlib = "**cuda*" } platforms = ["linux-64"] -system-requirements = {cuda = "12.1"} +system-requirements = { cuda = "12.1" } [tool.pixi.pypi-dependencies] -jaxsim = {path = "./", editable = true} +jaxsim = { path = "./", editable = true } [tool.pixi.environments] -default = {solve-group = "cpugroup"} -gpu = {features = ["gpu"], solve-group = "gpugroup"} -test-cpu = {features = ["test"], solve-group = "cpugroup"} -test-gpu = {features = ["test", "gpu"], solve-group = "gpugroup"} +default = { solve-group = "cpugroup" } +gpu = { features = ["gpu"], solve-group = "gpugroup" } +test-cpu = { features = ["test"], solve-group = "cpugroup" } +test-gpu = { features = ["test", "gpu"], solve-group = "gpugroup" }