Skip to content

Force import line wrap by count and line length #13626

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

Merged
merged 3 commits into from
Jan 4, 2024

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Dec 31, 2023

Something that I noticed in particular when working on PR #13625, but those long import lines have always bothered me a bit. I made the length consistent at 88, though I'm not sure where that number was taken from, as it's inconsistent with documentation and file headers (78).

@mattpap mattpap added status: ready type: task tag: codebase Improvements to code quality without affecting any functionality. labels Dec 31, 2023
Copy link

codecov bot commented Dec 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a2a15c8) 92.54% compared to head (0ecde82) 92.54%.

Additional details and impacted files
@@             Coverage Diff             @@
##           branch-3.4   #13626   +/-   ##
===========================================
  Coverage       92.54%   92.54%           
===========================================
  Files             323      323           
  Lines           20493    20493           
===========================================
  Hits            18965    18965           
  Misses           1528     1528           

@mattpap mattpap added this to the 3.4 milestone Jan 4, 2024
@mattpap mattpap force-pushed the mattpap/isort_wrap_length branch from e4aeca1 to 0ecde82 Compare January 4, 2024 19:39
@mattpap mattpap merged commit 92c5fdc into branch-3.4 Jan 4, 2024
@mattpap mattpap deleted the mattpap/isort_wrap_length branch January 4, 2024 21:36
bryevdv pushed a commit that referenced this pull request Jan 24, 2024
* Make line_length cutoff consistent at 88

* Update the codebase

* Use relative imports to shorten line lengths
@bryevdv bryevdv mentioned this pull request Jan 24, 2024
13 tasks
bryevdv pushed a commit that referenced this pull request Jan 24, 2024
* Make line_length cutoff consistent at 88

* Update the codebase

* Use relative imports to shorten line lengths
@bryevdv bryevdv modified the milestones: 3.4, 3.3.4 Jan 24, 2024
bryevdv added a commit that referenced this pull request Jan 25, 2024
* Log figure render count and start/end (#13503)

* Log PlotView render count

* Include model id in render console messages

* remove new code annotations

* test logger trace

* implement log level trace handling

* remove extra semicolons

apply suggested message

* apply suggested message

---------

Co-authored-by: Ian Thomas <[email protected]>

* Update CoC to use reporting form (#13647)

* Let client ping failure clean up session (#13655)

* Let client ping failure clean up session

* Fix typo

* Add test

* Fix codestyle issues

* Ignore pandas' deprecation warning regarding pyarrow (#13657)

* Ignore pandas' deprecation warning regarding pyarrow

* Fix other deprecation warnings

* Support pandas 1.x and 2.x/3.x simultaneously

* Fix missing User Guide sidebars (#13659)

* Update environment-release-build.yml

* Use pip syntax

* Force import line wrap by count and line length (#13626)

* Make line_length cutoff consistent at 88

* Update the codebase

* Use relative imports to shorten line lengths

* add rst-files for glyphes (#13597)

* Update app.rst (#13588)

* Add Metadata for airports_graph.py and geojson_source.py (#13568)

* Added metadata to airports_graph.py

* Added metadata to geojson_source.py

* Remove trailing whitespaces

* Fix formating of metadata, remove some apis from airports_graph.py

* Add space between tripple qoute and first letter

* remove trailing white space

* Add Iterable kind and use it in BooleanFilter.booleans (#13661)

* update switcher.json and release notes

* baseline test manual fixup

---------

Co-authored-by: Demetris Roumis <[email protected]>
Co-authored-by: Ian Thomas <[email protected]>
Co-authored-by: Pavithra Eswaramoorthy <[email protected]>
Co-authored-by: Philipp Rudiger <[email protected]>
Co-authored-by: Mateusz Paprocki <[email protected]>
Co-authored-by: Moritz Schreiber <[email protected]>
Co-authored-by: Icoti <[email protected]>
Co-authored-by: dasha-moskv <[email protected]>
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
* Make line_length cutoff consistent at 88

* Update the codebase

* Use relative imports to shorten line lengths
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
reso: completed status: accepted tag: codebase Improvements to code quality without affecting any functionality. type: task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants