diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8d53563..e69de29 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +0,0 @@ -This project uses [Black] to format code. To avoid manually running `black .`, -you can install a Git hook or a format-on-save plugin for your editor. - -[Black]: https://github.com/psf/black diff --git a/django_object_actions/tests/test_utils.py b/django_object_actions/tests/test_utils.py index 0df3969..da7a814 100644 --- a/django_object_actions/tests/test_utils.py +++ b/django_object_actions/tests/test_utils.py @@ -76,7 +76,7 @@ def test_get_button_attrs_gets_set(self): def test_get_button_attrs_custom_attrs_get_partitioned(self): mock_tool = type("mock_tool", (object,), {"attrs": {"nonstandard": "wombat"}}) - attrs, custom = self.instance._get_button_attrs(mock_tool) + _attrs, custom = self.instance._get_button_attrs(mock_tool) self.assertEqual(custom["nonstandard"], "wombat")