<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to run code-formating on the notebooks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32191#M23460</link>
    <description>&lt;P&gt;Has anyone found a nice way to run code-formating (like black) on the notebooks **in the workspace**? My current workflow is to commit the file, pull it locally, format, repush and pull. It would be nice if it was some relatively easy way to run black on the notebook up in the workspace, is it?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 13:17:51 GMT</pubDate>
    <dc:creator>Erik</dc:creator>
    <dc:date>2022-01-05T13:17:51Z</dc:date>
    <item>
      <title>How to run code-formating on the notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32191#M23460</link>
      <description>&lt;P&gt;Has anyone found a nice way to run code-formating (like black) on the notebooks **in the workspace**? My current workflow is to commit the file, pull it locally, format, repush and pull. It would be nice if it was some relatively easy way to run black on the notebook up in the workspace, is it?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 13:17:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32191#M23460</guid>
      <dc:creator>Erik</dc:creator>
      <dc:date>2022-01-05T13:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to run code-formating on the notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32192#M23461</link>
      <description>&lt;P&gt;I don't believe there is a way to do that. We do have something in development called DevBricks that will help with this kind of issue though.  It's an IDE tool and it should be in preview soon.  If you're interested in it talk to your CSE&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 13:24:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32192#M23461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-05T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to run code-formating on the notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32194#M23463</link>
      <description>&lt;P&gt;Hi @Erik Parmann​&amp;nbsp; -- We do not currently have auto-formatting capabilities in the Notebook.  As @Joseph Kambourakis​&amp;nbsp;mentioned, we are working on a new IDE support capability that will enable users to re-format inside of their IDE, but that is currently in development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are interested in adding auto-formatting to the Notebook via a tool like black in the future, but we have no plans at this time.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 17:10:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32194#M23463</guid>
      <dc:creator>austin_ford</dc:creator>
      <dc:date>2022-01-10T17:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to run code-formating on the notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32195#M23464</link>
      <description>&lt;P&gt;@Kaniz Fatma​&amp;nbsp; Yes:-)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 10:02:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/32195#M23464</guid>
      <dc:creator>Erik</dc:creator>
      <dc:date>2022-01-11T10:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to run code-formating on the notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/55889#M30454</link>
      <description>&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;I don't know if you are aware of this feature, currently there is an option to format the code in your databricks notebooks using the black code style formatter.&lt;/P&gt;&lt;P&gt;Just you need to either have a version of your DBR equal to or greater than 11.2 (the libraries are configured by default) either configure the next libraries in your cluster&lt;/P&gt;&lt;LI-CODE lang="python"&gt;%pip install black==22.3.0 tokenize-rt==4.2.1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;A title="how to format python cells" href="https://docs.databricks.com/en/notebooks/notebooks-code.html#format-python-cells" target="_self"&gt;https://docs.databricks.com/en/notebooks/notebooks-code.html#format-python-cells&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:49:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-run-code-formating-on-the-notebooks/m-p/55889#M30454</guid>
      <dc:creator>MartinPlay01</dc:creator>
      <dc:date>2023-12-28T13:49:43Z</dc:date>
    </item>
  </channel>
</rss>

