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 flake8 issues #1007

Merged
merged 4 commits into from
Apr 12, 2023
Merged

Conversation

drikusroor
Copy link
Contributor

@drikusroor drikusroor commented Apr 12, 2023

Background

Recently, the #923 PR was merged, adding the flake8 linting job to the ci.yml workflow. Currently this job returns many linting errors that need to be fixed. @nponeccop then suggested to narrow the amount of linting errors to be returned by altering the flake8 command in the job so that the list of errors would become manageable. After that first list of linting errors are fixed, we can gradually ignore less errors and fix them until we have no linting errors in the project anymore.

Changes

  • Alter the flake8 linting command to only respond to a specific amount of linting errors
  • Fix those linting errors
  • Set the linting job's continue-on-error to false to enforce code quality for this narrower amount of linting errors
  • Document specific flake8 used in CI in README.md

Documentation

README.md has been updated with regards to rules.

Test Plan

As continue-on-error is now set to false, the CI should now succeed in order to be able to merge the PR. And if it succeeds, it also means the narrower set of linting errors have been fixed properly.

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes

richbeales
richbeales previously approved these changes Apr 12, 2023
@richbeales richbeales merged commit a0f900f into Significant-Gravitas:master Apr 12, 2023
SquareandCompass pushed a commit to SquareandCompass/Auto-GPT that referenced this pull request Oct 21, 2023
…and tune (Significant-Gravitas#1007)

* version update post release v1.2.2

* automl option

* import pandas

* remove automl.utils

* default

* test

* type hint and version update

* dependency update

* link to open in colab

* use packging.version to close Significant-Gravitas#725

---------

Co-authored-by: Li Jiang <lijiang1@microsoft.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
sindlinger pushed a commit to Orgsindlinger/Auto-GPT-WebUI that referenced this pull request Sep 25, 2024
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.

2 participants