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

New version #60

Closed
wants to merge 8 commits into from
Closed

New version #60

wants to merge 8 commits into from

Conversation

sbrugman
Copy link
Collaborator

Major update with new feature and dealing with technical debt. Would be awesome if you're open to merging and releasing this!

  • (feat) Implement a check for __main__ (Check __name__ == ‘__main__’? #2)
  • (test) refactor and added some cases
  • (ci) replace appveyor with github actions for testing
  • (refactor) migrate to pyproject.toml
  • (refactor) use pre-commit for linting

@sbrugman
Copy link
Collaborator Author

Note that appveyor is replaced by Github Actions, for which all tests pass:
https://github.com/sbrugman/flake8-executable/actions/runs/3913083580

@sbrugman
Copy link
Collaborator Author

@xuhdev Kindly requesting for a review

Copy link
Owner

@xuhdev xuhdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! It's actually pretty hard to review because so many different changes are mixed together in one giant PR. There are some changes that I think should be discussed separately (e.g., deleting renovate-lint.yml). However, most of the PR should be looking good. Would you mind breaking down the PR a bit so we can get them reviewed separately?

Thank you again!

@sbrugman
Copy link
Collaborator Author

Good point, I'll split up the changes

@sbrugman sbrugman force-pushed the master branch 4 times, most recently from a561856 to ae30c7b Compare January 17, 2023 16:33
@sbrugman
Copy link
Collaborator Author

sbrugman commented Jan 17, 2023

@xuhdev The commits are now rearranged into meaningful and more atomic changes.
Code review is possible per commit. (I've not created individual PRs to prevent conflicts of the readme).

Moreover, I've reverted the removal of renovate and editorconfig so that those changes can be discussed separately.
(renovate is currently broken, but a fix is in another PR)

@sbrugman sbrugman force-pushed the master branch 3 times, most recently from f0e7087 to 1efe4ba Compare January 17, 2023 17:04
Copy link
Owner

@xuhdev xuhdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for the PR! I'll try to review one commit per day due to my lack of time.

Actually, you can create stacked PRs -- one PR starts on another PR's branch, and so on. In this way, there won't be conflict. I can give you permission to create branch and change non-master branches in this repo so things should be easier.

@@ -1,59 +0,0 @@
# Copyright (c) 2020 Hong Xu <[email protected]>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason that I had this tox.ini here is to avoid overdepending on a particular CI system. The appveyor file is pretty minimal and the heavy work is done in this tox.ini file.

Copy link
Collaborator Author

@sbrugman sbrugman Jan 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, in that case let us stick with tox and make it work with Github Actions. The benefit of this would be a shorter feedback loop, while maintaining portability.

.gitignore Show resolved Hide resolved
@sbrugman
Copy link
Collaborator Author

Will split up PR

@sbrugman sbrugman closed this Jan 19, 2023
@xuhdev
Copy link
Owner

xuhdev commented Jan 21, 2023 via email

@sbrugman
Copy link
Collaborator Author

I agree. In the other PRs I have integrated pre-commit with tox

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