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 python api code to own file #2489

Merged
merged 3 commits into from
Jun 11, 2017

Conversation

RonnyPfannschmidt
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt commented Jun 11, 2017

Thanks for submitting a PR, your contribution is really appreciated!

Here's a quick checklist that should be present in PRs:

  • Add a new news fragment into the changelog folder
    • name it $issue_id.$type for example (588.bug)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of removal, feature, bugfix, vendor, doc or trivial
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."
  • Target: for bugfix, vendor, doc or trivial fixes, target master; for removals or features target features;
  • Make sure to include reasonable tests for your change if necessary

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

Perhaps we should call the new file just api.py?

@nicoddemus
Copy link
Member

Also what's the intent for moving those classes?

@RonnyPfannschmidt
Copy link
Member Author

@nicoddemus cutting down the file sizes before introducing FunctionDefinition?

@RonnyPfannschmidt RonnyPfannschmidt changed the title [WIP] Move python api code to own file Move python api code to own file Jun 11, 2017
@nicoddemus
Copy link
Member

OK, was just wondering. python_api sounds like something we want to make public, that's why I asked.

@RonnyPfannschmidt
Copy link
Member Author

wrt the filename - api.py seems a bit short and non-saying - same for python api

i do wonder about splitting logical bits into more files

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 92.132% when pulling cce9c99 on RonnyPfannschmidt:move-python-api into 467c526 on pytest-dev:features.

@RonnyPfannschmidt
Copy link
Member Author

but yeah, this can be merged ^^

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 92.132% when pulling f8b2277 on RonnyPfannschmidt:move-python-api into 467c526 on pytest-dev:features.

@nicoddemus nicoddemus merged commit 9bd8907 into pytest-dev:features Jun 11, 2017
@RonnyPfannschmidt RonnyPfannschmidt deleted the move-python-api branch November 13, 2017 10:06
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

3 participants