Skip to content

Commit

Permalink
Fix import formatting config
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 549241719
Change-Id: I120254f64c96f27756e21dfb5c74ea17157e3cbf
  • Loading branch information
jagapiou authored and copybara-github committed Jul 19, 2023
1 parent 61aa857 commit f814b2b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions examples/.isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[settings]
profile=google
# TODO remove once https://github.com/PyCQA/isort/pull/2149 submitted.
line_length=1000
single_line_exclusions=collections.abc,typing
known_thirdparty=gym,meltingpot,pettingzoo,rllib
6 changes: 6 additions & 0 deletions examples/tutorial/.isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[settings]
profile=google
# TODO remove once https://github.com/PyCQA/isort/pull/2149 submitted.
line_length=1000
single_line_exclusions=collections.abc,typing
known_local_folder=meltingpot
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ profile = "google"
# TODO remove once https://github.com/PyCQA/isort/pull/2149 submitted.
line_length = 1000
single_line_exclusions = ["collections.abc", "typing"]
known_local_folder = ["dmlab2d", "meltingpot", "examples"]
src_paths = ["meltingpot", "examples"]
known_local_folder = ["dmlab2d", "meltingpot"]

[tool.pyink]
line-length = 80
Expand Down

0 comments on commit f814b2b

Please sign in to comment.