Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for ruff (0.05 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. scripts/format.sh

    #!/usr/bin/env bash
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Aug 17 03:59:06 GMT 2024
    - 119 bytes
    - Click Count (0)
  8. 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)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            StringBuilder buff = new StringBuilder();
            if (md.getExecutePhase() != null && !md.getExecutePhase().isEmpty()) {
                // forked phase
                if (md.getExecuteLifecycle() != null && !md.getExecuteLifecycle().isEmpty()) {
                    buff.append('[');
                    buff.append(md.getExecuteLifecycle());
                    buff.append(']');
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

            StringBuilder buff = new StringBuilder();
            if (md.getExecutePhase() != null && !md.getExecutePhase().isEmpty()) {
                // forked phase
                if (md.getExecuteLifecycle() != null && !md.getExecuteLifecycle().isEmpty()) {
                    buff.append('[');
                    buff.append(md.getExecuteLifecycle());
                    buff.append(']');
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
Back to Top