martinzink opened a new pull request, #2222: URL: https://github.com/apache/nifi-minifi-cpp/pull/2222
[MINIFICPP-2870 Lint/Check python code with ruff](https://issues.apache.org/jira/browse/MINIFICPP-2870) I've deliberetly done the PR in multiple commits, because that would make the review process much easier. - [ruff format](https://github.com/apache/nifi-minifi-cpp/commit/79756da0d64b689e38c176ef0466da872e0176e6) this is the result of running ruff format from the root of the repo - [setting ruff rules](https://github.com/apache/nifi-minifi-cpp/commit/34661af176faea0e1740e0399ef926ce60e28d0a) to ignore false positives - [ruff check --fix](https://github.com/apache/nifi-minifi-cpp/commit/4396cf95b2acb23f7fdc6cdc418e64d06419b2f8) these are the auto fixes from ruff - [the remaining non-auto fixes](https://github.com/apache/nifi-minifi-cpp/commit/7e2c5e13efa7577425e49b0d3e05c6a897f5c4e2) these are the manual fixes (to problems ruff identified) - [documentation changes](https://github.com/apache/nifi-minifi-cpp/commit/2cb4083c034f7d78fd2b5c6861c5101f44f0057a) - https://github.com/apache/nifi-minifi-cpp/commit/d4c979c375f5f225c0c8627c3c02b492cc7c3f2b I needed to upgrade to python 3.10 because 3.6 didnt support bunch of now standard rules (e.g. list vs List, dict vs Dict), but 3.6 is long EoL - [rebase fix](https://github.com/apache/nifi-minifi-cpp/commit/5b853a9c7f1839d34a63e1d9c183237d8675399c) --- Thank you for submitting a contribution to Apache NiFi - MiNiFi C++. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [ ] Has your PR been rebased against the latest commit within the target branch (typically main)? - [ ] Is your initial contribution a single, squashed commit? ### For code changes: - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the LICENSE file? - [ ] If applicable, have you updated the NOTICE file? ### For documentation related changes: - [ ] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
