The Wayback Machine - https://web.archive.org/web/20201126011818/https://github.com/TheAlgorithms/Python/pull/3704
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

Move validate_solutions and add durations flag to pytest.ini #3704

Merged
merged 5 commits into from Oct 24, 2020

Conversation

@dhruvmanila
Copy link
Member

@dhruvmanila dhruvmanila commented Oct 24, 2020

Describe your change:

  • Moved validate_solutions.py and project_euler_answers.json to scripts directory and other dependent changes.
  • Configure pytest.ini with the --durations flag to apply it everywhere.
  • Remove codespell and autoblack action as mentioned in #3447 (comment)
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
dhruvmanila added 4 commits Oct 24, 2020
@cclauss
Copy link
Member

@cclauss cclauss commented Oct 24, 2020

Moved validate_solutions.py and project_euler_answers.json to scripts directory

If these scripts are only used for GitHub Actions then my preference would be that they live in .github/workflows. Your thoughts?

@dhruvmanila
Copy link
Member Author

@dhruvmanila dhruvmanila commented Oct 24, 2020

I think scripts is an appropriate place for them to be. Also, workflows is a special directory used by GitHub so I don't think we can put other files in it.

pytest.ini Outdated Show resolved Hide resolved
@dhruvmanila dhruvmanila merged commit b97529d into TheAlgorithms:master Oct 24, 2020
4 checks passed
4 checks passed
project-euler
Details
pre-commit
Details
validate-solutions
Details
Travis CI - Pull Request Build Passed
Details
@dhruvmanila dhruvmanila deleted the dhruvmanila:move-validate-solutions branch Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.