From 5d9918086689de83099b791453475cfc3148b5a3 Mon Sep 17 00:00:00 2001 From: dsctt Date: Mon, 14 Nov 2022 12:45:09 -0500 Subject: [PATCH 1/2] Add information about MAgent2 standalone package --- pettingzoo/magent/README.md | 1 + pettingzoo/magent/__init__.py | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 pettingzoo/magent/README.md create mode 100644 pettingzoo/magent/__init__.py diff --git a/pettingzoo/magent/README.md b/pettingzoo/magent/README.md new file mode 100644 index 000000000..d0c8fbec4 --- /dev/null +++ b/pettingzoo/magent/README.md @@ -0,0 +1 @@ +MAgent has been moved into its own package: MAgent2. Install with `pip install magent2`. For more information on the MAgent2 package, see https://magent2.farama.org/. diff --git a/pettingzoo/magent/__init__.py b/pettingzoo/magent/__init__.py new file mode 100644 index 000000000..fd7f4c1ea --- /dev/null +++ b/pettingzoo/magent/__init__.py @@ -0,0 +1,3 @@ +raise ImportError( + "MAgent has been moved into its own package: MAgent2. Install with `pip install magent2`. For more information on the MAgent2 package, see https://magent2.farama.org/." +) From e2c538601cacf1a85a83cc7647becb1f01a883be Mon Sep 17 00:00:00 2001 From: dsctt Date: Mon, 14 Nov 2022 12:53:04 -0500 Subject: [PATCH 2/2] Add magent to codespell ignore list --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5b33d7f9..e2126e38c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,7 @@ repos: - id: codespell args: - --skip=*.css,*.js,*.map,*.scss,*svg + - --ignore-words-list=magent - repo: https://gitlab.com/PyCQA/flake8 rev: 5.0.4 hooks: