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

Adding new features in tox.ini #1457

Merged
merged 1 commit into from Nov 23, 2022
Merged

Adding new features in tox.ini #1457

merged 1 commit into from Nov 23, 2022

Conversation

I2SAM7
Copy link
Contributor

@I2SAM7 I2SAM7 commented Nov 23, 2022

The scripts/fmt.sh script has been replaced with a new tox command: tox -e fmt. It behaves exactly the same way, except that it's executed in a venv.

Another new command, tox -e style, also checks for formatting mistakes. It returns a code error, if an error has been found in one of the files. It does not edit any files. It would be suitable for a CI.

The file Makefile has been modified so that "make format" still works.

The scripts/fmt.sh script has been replaced with a new tox command: tox -e fmt.
It behaves exactly the same way, except that it's executed in a venv.

Another new command, tox -e style, also checks for formatting mistakes.
It returns a code error, if an error has been found in one of the files.
It does not edit any files. It would be suitable for a CI.

The file Makefile has been modified so that "make format" still works.
@kerizane kerizane merged commit d06f4dc into Tuxemon:development Nov 23, 2022
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.

None yet

2 participants