Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix duplicated option issue in tox.ini #301

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ronanboiteau
Copy link

When running tox locally I get the following error:

configparser.DuplicateOptionError: While reading from '/Users/ronan/Projects/django-ratelimit/tox.ini' [line 22]: option 'allowlist_externals' in section 'testenv' already exists

The option allowlist_externals seems indeed duplicated in tox.ini. If I remove the second one the tests run fine on my local environment.

@adamchainz
Copy link
Collaborator

Yup, just ran into this as well. Fix works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants