Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 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. 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)
  5. 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)
  6. docs_src/metadata/tutorial001_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
    - 805 bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/util/mime.map

    application/x-tcl              tcl              # TCL Programming Language
    application/x-tex              tex              # Tex/LaTeX
    application/x-texinfo          texinfo texi     # TexInfo
    application/x-troff            t tr roff        # Troff file
    application/x-troff-man        man              # Troff with MAN macros
    application/x-troff-me         me               # Troff with ME macros
    application/x-troff-ms         ms               # Troff with MS macros
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.9K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/testing-dependencies.md

    Um eine Abhängigkeit für das Testen zu überschreiben, geben Sie als Schlüssel die ursprüngliche Abhängigkeit (eine Funktion) und als Wert Ihre Überschreibung der Abhängigkeit (eine andere Funktion) ein.
    
    Und dann ruft **FastAPI** diese Überschreibung anstelle der ursprünglichen Abhängigkeit auf.
    
    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip | Tipp
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/openapi-callbacks.md

    Der Vorgang, der stattfindet, wenn Ihre API-Anwendung die *externe API* aufruft, wird als <abbr title="„Rückruf“">„Callback“</abbr> bezeichnet. Denn die Software, die der externe Entwickler geschrieben hat, sendet einen Request an Ihre API und dann *ruft Ihre API zurück* (*calls back*) und sendet einen Request an eine *externe API* (die wahrscheinlich vom selben Entwickler erstellt wurde).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Verwenden { #use-it }
    
    Jetzt können Sie Ihre Abhängigkeit mithilfe dieser Klasse deklarieren.
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}
    
    **FastAPI** ruft die Klasse `CommonQueryParams` auf. Dadurch wird eine „Instanz“ dieser Klasse erstellt und die Instanz wird als Parameter `commons` an Ihre Funktion überreicht.
    
    ## Typannotation vs. `Depends` { #type-annotation-vs-depends }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top