Vauxoo / odoo-selenium

Odoo Selenium Unittest Tools provides utilities that make it easy to quickly write and develop Odoo tests that use Selenium.
GNU Lesser General Public License v3.0
1 stars 2 forks source link

First review #1

Closed moylop260 closed 1 year ago

moylop260 commented 1 year ago

Lint

Unittest

Packaging

Project configuration

README

antonag32 commented 1 year ago

About the packaging, it uses flit and the information is in pyproject.toml. I tried to make it this package more "modern", it is related to PEP 517 and other concepts. I think the only stuff missing would be things like LICENSE, author, and classifier information, and the pipeline.

antonag32 commented 1 year ago

Regarding lints, since this project is using pyproject.toml, pre-commit-vauxoo breaks it. I opened an issue about it: https://github.com/Vauxoo/pre-commit-vauxoo/issues/118

Should not be too hard to fix it.

moylop260 commented 1 year ago

Regarding lints, since this project is using pyproject.toml, pre-commit-vauxoo breaks it. I opened an issue about it: Vauxoo/pre-commit-vauxoo#118

Should not be too hard to fix it.

Replied in the another issue

Summary: No problem overwritting the file

moylop260 commented 1 year ago

FYI I have updated some items in the description of this issue

moylop260 commented 1 year ago

@antonag32

I think we will need to rename the packaga again 😢

I just ran the following commands:

python3 -m build --sdist --wheel --outdir dist/ && \
  python3 -m twine check --strict dist/* && \
  python3 -m twine upload --verbose --repository-url https://upload.pypi.org/legacy/ dist/*

And the ouput was:

It looks because of the following project:

antonag32 commented 1 year ago

Dangit, I am biased because I came up with, but osut is a pretty weird name, I don't think anyone else is using it. It also follows PEP recommendations (AFAIK):

https://peps.python.org/pep-0008/#package-and-module-names

Modules should have short, all-lowercase names. Underscores can be used in the module name if it improves readability. Python packages should also have short, all-lowercase names, although the use of underscores is discouraged.

When an extension module written in C or C++ has an accompanying Python module that provides a higher level (e.g. more object oriented) interface, the C/C++ module has a leading underscore (e.g. _socket).

moylop260 commented 1 year ago

FYI I have added bump2version, build and publish packages from:

The following version was uploaded using this way:

Steps to publish:

bump2version patch
git push stb main --tags
moylop260 commented 1 year ago

Almost of bullet point were fixed

Only one extra point is pending so creating a separated issue only with coverage matter