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

Added flake8 tests and some config files #85

Merged
merged 5 commits into from Feb 3, 2023

Conversation

GhostOps77
Copy link
Contributor

I'm just gonna stick with flake8 for now

Changes that I've done here:

  • Moved click_repl folder into src folder
  • Created setup.cfg file that has all the setuptools, and flake8 config
  • Deleted .flake8
  • Renamed README.rst to README.md
  • Added some badges to the README.md
  • Formatted code in src and tests folder with black, so that they can pass flake8 test

	Added test passing badges and more:   README.md
	Moved content to .md file:    README.rst
	Added setuptoold build config:   pyproject.toml
	new config file:   setup.cfg
	Moved config to .cfg file:   setup.py
	Moved code to src folder:    click_repl/__init__.py -> src/click_repl/__init__.py
	Moved code to src folder:    click_repl/exceptions.py -> src/click_repl/exceptions.py
	modified by black:   tests/test_argument.py
	modified by black:   tests/test_basic.py
	modified by black:   tests/test_command_collection.py
	modified by black:   tests/test_repl.py
	Added flake8 test:   tox.ini
@GhostOps77
Copy link
Contributor Author

GhostOps77 commented Feb 3, 2023

@auvipy Is this PR has too much to merge in?

@@ -10,20 +10,24 @@
from .exceptions import InternalCommandException, ExitReplException # noqa

# Handle backwards compatibility between Click 7.0 and 8.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

i don't think we need to move this to src

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok moving it out as u wish

	renamed:    src/click_repl/exceptions.py -> click_repl/exceptions.py
	removed package_src attribute:   setup.cfg
	modified flake8 command:   tox.ini
@auvipy auvipy merged commit b2f0f3a into click-contrib:master Feb 3, 2023
@GhostOps77 GhostOps77 deleted the flake8 branch February 3, 2023 09:46
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