Skip to content

Commit

Permalink
Add optional dependencies for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Aug 3, 2024
1 parent 1c6b53a commit 1ce31f4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ all = [
"flax",
"optax",
]
tests = [
"pytest",
"hypothesis",
]
# urls
[project.urls]
"Homepage" = "https://github.com/Toni-SM/skrl"
Expand Down Expand Up @@ -84,6 +88,11 @@ use_parentheses = false
line_length = 120
multi_line_output = 3
lines_after_imports = 2
known_test = [
"warnings",
"hypothesis",
"pytest",
]
known_annotation = ["typing"]
known_framework = [
"torch",
Expand All @@ -96,6 +105,7 @@ known_framework = [
sections = [
"FUTURE",
"ANNOTATION",
"TEST",
"STDLIB",
"THIRDPARTY",
"FRAMEWORK",
Expand Down

0 comments on commit 1ce31f4

Please sign in to comment.