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 the package metadata from setup.py to setup.cfg #84

Merged
merged 2 commits into from
Jan 10, 2022

Conversation

KOLANICH
Copy link
Contributor

@KOLANICH KOLANICH commented Sep 8, 2021

Added pyproject.toml
Replaced reading of the version from _version file with reading it from Version Control System and writing it into the file.
Also fixed a bug with incorrect content of __all__ in __main__.py

Related: python-lsp/python-lsp-jsonrpc#8 , palantir/python-language-server#669

Fixes #84.

@ccordoba12 ccordoba12 changed the title Moved the metadata from setup.py to setup.cfg Move the metadata from setup.py to setup.cfg Jan 3, 2022
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Hey @KOLANICH, thanks a lot for your contribution! Besides the comments and suggestions I left for you below, please address the problem flagged by Pylint in our CI.

pylsp/__init__.py Outdated Show resolved Hide resolved
pylsp/__init__.py Outdated Show resolved Hide resolved
pylsp/__init__.py Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@ccordoba12
Copy link
Member

It seems the only things missing before merging are the failures reported by Pylint here:

https://github.com/python-lsp/python-lsp-server/runs/4693154656?check_suite_focus=true

@KOLANICH
Copy link
Contributor Author

KOLANICH commented Jan 3, 2022

Some of them were not introduced by me, but fixed them too.

setup.py Outdated Show resolved Hide resolved
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Hey @KOLANICH, I think this is almost ready! If you need help with the failing tests, let us know and we'll push to your branch to fix them.

pylsp/plugins/flake8_lint.py Outdated Show resolved Hide resolved
pylsp/plugins/pylint_lint.py Outdated Show resolved Hide resolved
Added pyproject.toml
Replaced reading of the version from `_version` file with reading it from Version Control System and writing it into the file.
Also fixed a bug with incorrect content of `__all__` in `__main__.py`
@ccordoba12 ccordoba12 added this to the v1.4.0 milestone Jan 8, 2022
@ccordoba12 ccordoba12 changed the title Move the metadata from setup.py to setup.cfg Move the package metadata from setup.py to setup.cfg Jan 8, 2022
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @KOLANICH! Last suggestion, then this should be ready.

setup.cfg Outdated Show resolved Hide resolved
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks a lot @KOLANICH for your help (and patience) with this!

@ccordoba12 ccordoba12 merged commit 963fd4d into python-lsp:develop Jan 10, 2022
@KOLANICH KOLANICH deleted the setup.cfg branch January 10, 2022 19:26
@KOLANICH KOLANICH restored the setup.cfg branch May 6, 2022 16:37
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.

3 participants