Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for ruff (0.04 seconds)

  1. .pre-commit-config.yaml

      - repo: local
        hooks:
          - id: local-ruff-check
            name: ruff check
            entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
            require_serial: true
            language: unsupported
            types: [python]
    
          - id: local-ruff-format
            name: ruff format
            entry: uv run ruff format --force-exclude --exit-non-zero-on-format
            require_serial: true
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 2.6K bytes
    - Click Count (1)
  2. scripts/lint.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    mypy fastapi
    ty check fastapi
    ruff check fastapi tests docs_src scripts
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:39:32 GMT 2026
    - 142 bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/references/other-tools.md

    # Other Tools
    
    ## uv
    
    If uv is available, use it to manage dependencies.
    
    ## Ruff
    
    If Ruff is available, use it to lint and format the code. Consider enabling the FastAPI rules.
    
    ## ty
    
    If ty is available, use it to check types.
    
    ## Asyncer
    
    When needing to run blocking code inside of async functions, or async code inside of blocking functions, suggest using Asyncer.
    
    Prefer it over AnyIO or asyncio.
    
    Install:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. pyproject.toml

    "docs_src/stream_data/tutorial001_py310.py" = ["UP028"]
    "docs_src/stream_data/tutorial002_py310.py" = ["UP028"]
    "docs_src/server_sent_events/tutorial001_py310.py" = ["UP028"]
    
    [tool.ruff.lint.isort]
    known-third-party = ["fastapi", "pydantic", "starlette"]
    
    [tool.ruff.lint.pyupgrade]
    # Preserve types, even if a file imports `from __future__ import annotations`.
    keep-runtime-typing = true
    
    [tool.inline-snapshot]
    # default-flags=["fix"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. fastapi/.agents/skills/fastapi/SKILL.md

    ## Tooling
    
    See [the other tools reference](references/other-tools.md) for details on uv, Ruff, ty for package management, linting, type checking, formatting, etc.
    
    ## Other Libraries
    
    See [the other tools reference](references/other-tools.md) for details on other libraries:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. scripts/docs.py

    from multiprocessing import Pool
    from pathlib import Path
    from typing import Any
    
    import mkdocs.utils
    import typer
    import yaml
    from jinja2 import Template
    from ruff.__main__ import find_ruff_bin
    from slugify import slugify as py_slugify
    
    logging.basicConfig(level=logging.INFO)
    
    SUPPORTED_LANGS = {
        "de",
        "en",
        "es",
        "fr",
        "ja",
        "ko",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  7. docs/en/docs/release-notes.md

    * 🔧 Update Ruff config, add extra ignore rule from SQLModel. PR [#11353](https://github.com/tiangolo/fastapi/pull/11353) by [@tiangolo](https://github.com/tiangolo).
    * ⬆️ Upgrade configuration for Ruff v0.2.0. PR [#11075](https://github.com/tiangolo/fastapi/pull/11075) by [@charliermarsh](https://github.com/charliermarsh).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  8. docs_src/metadata/tutorial001_1_py310.py

    You will be able to:
    
    * **Create users** (_not implemented_).
    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 774 bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    MessageBuilder buff = MessageUtils.builder();
                    buff.a("Message styles: ");
                    buff.trace("trace").a(' ');
                    buff.debug("debug").a(' ');
                    buff.info("info").a(' ');
                    buff.warning("warning").a(' ');
                    buff.error("error").a(' ');
                    buff.success("success").a(' ');
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    MessageBuilder buff = MessageUtils.builder();
                    buff.a("Message styles: ");
                    buff.trace("trace").a(' ');
                    buff.debug("debug").a(' ');
                    buff.info("info").a(' ');
                    buff.warning("warning").a(' ');
                    buff.error("error").a(' ');
                    buff.success("success").a(' ');
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
Back to Top