-
Notifications
You must be signed in to change notification settings - Fork 2
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
Spring cleaning 2023: bug fixes, updates, and improvements #109
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
viperior
added
bug
Something isn't working
enhancement
New feature or request
dependencies
Pull requests that update a dependency file
labels
Mar 1, 2023
This type of feature could be re-added later, but it would need to be fairly automated. GitHub's built-in release notes functionality provides the same purpose as a manual changelog in markdown.
This was
linked to
issues
Mar 4, 2023
This option is controlled by the .flake8 dotfile
Updated the pylint control file after receiving this error in GitHub Actions: "pylint: Command line or configuration file:1: UserWarning: Specifying exception names in the overgeneral-exceptions option without module name is deprecated and support for it will be removed in pylint 3.0. Use fully qualified name (maybe 'builtins.BaseException' ?) instead" The fix is to prefix `builtins.` to the existing entries for this config option.
Improve the testing of exceptions using pytest.raises(). Closes #77
Check both type and value, allowing only int values greater than zero
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New features
dev-requirements.in
andrequirements.in
(closes Separate user and dev requirements #60)pandas
, was added to the template's example code to support clear separation between dev and user requirements (closes Introduce a 3rd party dependency #90)Issues fixed
ValueError - int not callable
when running flake8 by updating project dependency versions and modifying the package installation process in the GitHub Actionstest
workflow (closes Fix issue with flake8 linter #108)Improvements
foopackage==3.2.7 => foopackage>=3.2
)pytest-xdist
as a default dependency. Users can add this to their projects when needed and if they are okay with the added complexity. In the future,pytest-xdist
could be an option to include in a template wizard.CodeQL
as a default CI/CD workflow. Users can add this to their projects when needed and if they are okay with the added complexity. CodeQL does not work well with private repositories, which makes its default inclusion an immediate hurdle for users who want to use the template in a new private repository. In the future, CodeQL could be an option to include in a template wizard. (closes Remove CodeQL from template #111)pytest
exception testing approach usingpytest.raises()
(closes Pytest exception handling and testing improvement #77)Maintenance