並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 15 件 / 15件

新着順 人気順

ruffの検索結果1 - 15 件 / 15件

  • 【Rye + uv + Ruff】Docker で VS Code の Dev Container 上に快適な Python 環境を構築する

    0. はじめに 株式会社ディー・エヌ・エーに入社し,MLOps エンジニアをやっている @a5chin です. 本記事では,図 1 の様に VS Code の Dev Container 上に爆速で快適な Python 環境を構築することを目指します. 図 1: Dev Container 上で開発をすると Ruff による自動フォーマット[1]と pre-commit が走る 本記事の内容は全て上記リポジトリで簡単に試すことができるので,ぜひ clone して試して頂けたらと思います↑ Dockerfile 内で,Rye, uv, そして Ruff をインストールする手順を記述することで開発環境を標準化し,異なる環境間での一貫性を担保することができます. 0.1. 事前準備 本記事で作成したリポジトリを動かすためには,Docker Desktop と VS Code のダウンロード,VS

      【Rye + uv + Ruff】Docker で VS Code の Dev Container 上に快適な Python 環境を構築する
    • 新しい静的コード解析ツール「Ruff」をご紹介 | gihyo.jp


      @JunyaFffPython Monthly TopicsRuff 便Python使Flake8BlackisortPython Ruff20228PythonRuff[1]20233Ruff使 Ruff 
        新しい静的コード解析ツール「Ruff」をご紹介 | gihyo.jp
      • 🟢M-CHARI🚲💨💨 on Twitter: "さて、今日あった事を書くかな。 今日、上司と同行なのに待ち合わせ場所に来ない。 俺は電車。上司は社用車で来る予定。 電話をしても「電源が入っていないか電波が…」と繋がらない。 ほとほと困った。 そこで会社から電話が掛かってくる。… https://t.co/pfbe39Ruff"

        さて、今日あった事を書くかな。 今日、上司と同行なのに待ち合わせ場所に来ない。 俺は電車。上司は社用車で来る予定。 電話をしても「電源が入っていないか電波が…」と繋がらない。 ほとほと困った。 そこで会社から電話が掛かってくる。… https://t.co/pfbe39Ruff

          🟢M-CHARI🚲💨💨 on Twitter: "さて、今日あった事を書くかな。 今日、上司と同行なのに待ち合わせ場所に来ない。 俺は電車。上司は社用車で来る予定。 電話をしても「電源が入っていないか電波が…」と繋がらない。 ほとほと困った。 そこで会社から電話が掛かってくる。… https://t.co/pfbe39Ruff"
        • GitHub - astral-sh/ruff: An extremely fast Python linter and code formatter, written in Rust.

          Docs | Playground An extremely fast Python linter and code formatter, written in Rust. Linting the CPython codebase from scratch. ⚡️ 10-100x faster than existing linters (like Flake8) and formatters (like Black) 🐍 Installable via pip 🛠️ pyproject.toml support 🤝 Python 3.12 compatibility ⚖️ Drop-in parity with Flake8, isort, and Black 📦 Built-in caching, to avoid re-analyzing unchanged files 🔧

            GitHub - astral-sh/ruff: An extremely fast Python linter and code formatter, written in Rust.
          • Ruff v0.1.0

            As a reminder: Ruff is an extremely fast Python linter, written in Rust. Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, pyupgrade, and more, all while executing tens or hundreds of times faster than any individual tool. Ruff is used in production by tens of thousands of open source projects and major enterprises. In the last year, we've been working to expand Ruff'

              Ruff v0.1.0
            • Pythonの Ruff (linter) でコード整形もできるようになりました - Qiita

              要約: Flake8 + Black + isort はもうすべて Ruff だけで置き換えられる。 PythonのLinterとして、すでに Ruff を使われている方は多いと思います。Ruffは Rust で実装された高速なPython用Linterで、従来よく使われていた Flake8 に比べて数十倍短い時間で処理が終わります。 その圧倒的な性能によって成功が約束されている(?)ためか、Ruff の知名度がまだ低いころから GitHub Actions公式のPythonチュートリアルは即座に Flake8 を Ruff に置き換えています。 そして、2023年10月末にリリースされた v0.1.2 あたりから、ついにLintだけでなく、コードフォーマット(コード整形)の機能も正式に搭載されました。公式のブログ記事はこちら: Pythonのコード整形といえば今まで Black が主流で

                Pythonの Ruff (linter) でコード整形もできるようになりました - Qiita
              • Ruff

                Ruff# Docs | Playground An extremely fast Python linter and code formatter, written in Rust. Linting the CPython codebase from scratch. ⚡️ 10-100x faster than existing linters (like Flake8) and formatters (like Black) 🐍 Installable via pip 🛠️ pyproject.toml support 🤝 Python 3.12 compatibility ⚖️ Drop-in parity with Flake8, isort, and Black 📦 Built-in caching, to avoid re-analyzing unchanged fi

                • PythonのLinter & Formatter(Flake8 + isort + Black)をRuffに置き換えたら爆速でした - KAKEHASHI Tech Blog


                   Musubi  Musubi  Python  Linter  Formatter  Flake8isortBlack 使 Rust  Ruff 25Ruff   Ruff  Ruff Ruff 20228 Rust  Python  Linter  Formatter 1 Python 
                    PythonのLinter & Formatter(Flake8 + isort + Black)をRuffに置き換えたら爆速でした - KAKEHASHI Tech Blog
                  • Ruff v0.4.0: a hand-written recursive descent parser for Python

                    Time in milliseconds to lint and format popular repositories. Lower is better. A hand-written parser also opens the door to future optimizations and improvements, especially in error recovery. Read on for discussion of the major changes, or take a look at the changelog. A hand-written parser # Parsers form the foundational layer of any static analysis tool, transforming raw source code into Abstra

                      Ruff v0.4.0: a hand-written recursive descent parser for Python
                    • Announcing Astral, the company behind Ruff

                      TL;DR: I’ve started a company, Astral, to continue building high-performance developer tools for the Python ecosystem — to keep building Ruff, and to build more Ruff-like things. We’ve raised $4m in seed funding led by Accel, with participation from Caffeinated Capital, Guillermo Rauch (Vercel), Solomon Hykes (Docker), David Cramer (Sentry), and others. I built Ruff to test a theory: that Python t

                        Announcing Astral, the company behind Ruff
                      • Pythonの静的解析ツール"Ruff"を導入した話とおすすめの導入方法 - Qiita


                         PythonRuffRuff /  ruff v0.255.0 Ruff  Ruff Ruff Ruff Ruff  black isortimport autoflakeunused import  mypy flake8 pylint Ruff Ruff 
                          Pythonの静的解析ツール"Ruff"を導入した話とおすすめの導入方法 - Qiita
                        • PythonのRuff LinterをVSCodeで使う


                          RuffrustPythonLinter READMEPython Linter PylintFlake8, banditlinterVSCodesettings.json使[1] RuffVSCodeVSCode lint"--fix"  2024/03/06 editor.codeActionsOnSavetrue/falseexplicit/always/never3  
                            PythonのRuff LinterをVSCodeで使う
                          • PythonプロジェクトでRuffをPre-commitに設定してコード品質を上げてみる | DevelopersIO

                            はじめに データアナリティクス事業本部のkobayashiです。 Pythonコードでコード品質を上げるためはソースコードを整形するformatterのBlack、import文をソートするisort、ソースコードを解析してくれるLinterのflake8が定番の静的解析ツールかと思います。新規にPythonプロジェクトを始めるに当たりblack+isort+falke8と同等の機能を持つRuffを導入してみたのでその内容をまとめます。 astral-sh/ruff: An extremely fast Python linter and code formatter, written in Rust. Ruffとは Ruffとは、2022年にリリースされた比較的新しい静的解析ツールで、Rustで書かれています。同等の機能を持つ他のツールよりも高速に動作することが特徴です。さらに、一つのツ

                              PythonプロジェクトでRuffをPre-commitに設定してコード品質を上げてみる | DevelopersIO
                            • Ruff: a fast Python linter [LWN.net]

                              Benefits for LWN subscribersThe primary benefit from subscribing to LWN is helping to keep us publishing, but, beyond that, subscribers get immediate access to all site content and access to a number of extra site features. Please sign up today! Linters are tools that analyze a program's source code to detect various problems such as syntax errors, programming mistakes, style violations, and more.

                              • The Ruff Formatter: An extremely fast, Black-compatible Python formatter

                                TL;DR: The Ruff formatter is an extremely fast Python formatter, written in Rust. It’s over 30x faster than Black and 100x faster than YAPF, formatting large-scale Python projects in milliseconds — all while achieving >99.9% Black compatibility. A little over a year ago, I made the first commit to Ruff, an extremely fast Python linter, written in Rust. Since then, Ruff has grown to millions of dow

                                  The Ruff Formatter: An extremely fast, Black-compatible Python formatter
                                1