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

Enable string normalization in Black #2685

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

soininen
Copy link
Contributor

@soininen soininen commented Apr 2, 2024

Just reformatting, no functional changes.

Re #2684

Checklist before merging

  • Code has been formatted by black
  • Unit tests pass

Just reformatting, no functional changes.

Re #2684
Copy link

codecov bot commented Apr 2, 2024

Codecov Report

Attention: Patch coverage is 53.44828% with 54 lines in your changes are missing coverage. Please review.

Project coverage is 65.35%. Comparing base (55336b1) to head (c27687a).
Report is 1 commits behind head on 0.8-dev.

Files Patch % Lines
...oolbox/spine_db_editor/widgets/custom_delegates.py 0.00% 8 Missing ⚠️
spinetoolbox/helpers.py 69.23% 1 Missing and 3 partials ⚠️
spinetoolbox/widgets/custom_qtableview.py 63.63% 0 Missing and 4 partials ⚠️
...box/widgets/time_series_fixed_resolution_editor.py 20.00% 4 Missing ⚠️
...ox/spine_db_editor/mvcmodels/entity_tree_models.py 0.00% 3 Missing ⚠️
...toolbox/spine_db_editor/widgets/custom_qwidgets.py 25.00% 3 Missing ⚠️
...ox/spine_db_editor/widgets/manage_items_dialogs.py 0.00% 3 Missing ⚠️
spinetoolbox/widgets/custom_qwidgets.py 50.00% 3 Missing ⚠️
spinetoolbox/spine_db_editor/main.py 0.00% 2 Missing ⚠️
...netoolbox/spine_db_editor/mvcmodels/pivot_model.py 0.00% 2 Missing ⚠️
... and 13 more
Additional details and impacted files
@@             Coverage Diff             @@
##           0.8-dev    #2685      +/-   ##
===========================================
- Coverage    65.38%   65.35%   -0.03%     
===========================================
  Files          194      194              
  Lines        35542    35542              
  Branches      6038     6038              
===========================================
- Hits         23238    23229       -9     
- Misses       11071    11081      +10     
+ Partials      1233     1232       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soininen soininen merged commit 5f72902 into 0.8-dev Apr 2, 2024
16 of 18 checks passed
@soininen soininen deleted the 2684_enable_string_normalization branch April 2, 2024 12:10
# Invalid characters for file names
INVALID_FILENAME_CHARS = ["<", ">", ":", "\"", "/", "\\", "|", "?", "*"]
INVALID_FILENAME_CHARS = ["<", ">", ":", '"', "/", "\\", "|", "?", "*"]
Copy link
Member

Choose a reason for hiding this comment

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

@soininen This change looks suspicious to 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.

It is the "pythonic" way :) Works fine, by the way.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, seems to be working fine. Should have tried it before dropping a line. Thanks and sorry for unnecessary messages.

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