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

Add black #80

Merged
merged 19 commits into from
Jan 30, 2024
Merged

Add black #80

merged 19 commits into from
Jan 30, 2024

Conversation

khatchad
Copy link
Member

  • Use print() instead of print.
  • Remove Python from spotless.
  • Format Python code with black.
  • Add black to CI.
  • Modify black config.
  • Format Python files.

@khatchad khatchad marked this pull request as ready for review January 30, 2024 03:42
@khatchad khatchad enabled auto-merge (squash) January 30, 2024 03:43
@khatchad khatchad disabled auto-merge January 30, 2024 03:47
@khatchad khatchad merged commit 9bf79dd into master Jan 30, 2024
3 checks passed
@khatchad khatchad deleted the black branch January 30, 2024 03:48
khatchad pushed a commit that referenced this pull request Jan 30, 2024
…nerators (#80)

Fixes the XML summaries so that the FQN imports (ex. `from tensorflow.python.ops.variables import Variable`) and traditional imports (ex. `import tensorflow as tf`, `import tensorflow`) when using the same API count as the same class.
khatchad added a commit that referenced this pull request Jan 30, 2024
* Use print() instead of print.

Black is complaining.

* Remove Python from spotless.

It's not working.

* Format Python code with black.

* Add black to CI.

* Modify black config.

* Format Python files.

* Use Black version 24.1.1.

* Apply spotless.

* Use pip to install Black on Travis CI.

* Upgrade Travis CI top Jammy.

* Use pip to install Black on GH Actions.

* Split Black and Python in GH Actions.

Was getting an error.

* Fix test.

Due to formatting.

* Try `requirements.txt`.

* Install Python dependencies on GH Actions.

* Explicitly install requirements on Travis CI.

* Change Black config.

* Remove direct Black calls.
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.

1 participant