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

Fix #451 #453

Merged
merged 2 commits into from
Aug 5, 2023
Merged

Fix #451 #453

merged 2 commits into from
Aug 5, 2023

Conversation

nikteliy
Copy link
Contributor

@nikteliy nikteliy commented Aug 3, 2023

  • Replace setup.cfg and setup.py with pyproject.toml
  • Rework workflows:
    • remove "repack wheel" scripts
    • add docker container actions
    • replace cibuildwheel actions with docker container actions + auditwheel
    • replace bdist_wheel with build
    • build manylinux-compatible wheels
    • move pycodestyle config to pycodestyle.yml(pycodestyle doesn't support pyproject.toml)

  - Replace setup.cfg and setup.py with pyproject.toml
  - Rework workflows:
      - remove "repack wheel scripts"
      - add docker container actions
      - replace cibuildwheel actions with docker container actions +
	auditwheel
      - replace bdist_wheel with `build`
      - build manylinux-compatible wheels
      - move pycodestyle config to pycodestyle.yml(pycodestyle don't support pyproject.toml)
@@ -19,4 +19,4 @@ jobs:
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install pycodestyle
- name: Run pycodestyle
run: pycodestyle snap7 tests
run: pycodestyle snap7 tests --ignore=E501,E402,W391,W292,W503
Copy link
Owner

Choose a reason for hiding this comment

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

shouldn't this be in the pycodestyle config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should. But do we really need to add another config file? Instead, how about keeping this parameter as a command-line option for now and then replacing pycodestyle with ruff that supports pyproject.toml? It will make project's configs more centralized. Ideally, transfer all configurations to pyproject.toml. These parameters too.

Copy link
Owner

Choose a reason for hiding this comment

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

whatever you prefer, i thought might have forgotten it. migrating to ruff is also fine with me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll take care of migrating to ruff in the next PR

@gijzelaerr gijzelaerr merged commit 36996c2 into gijzelaerr:master Aug 5, 2023
41 checks passed
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