Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Ruff (0.45 sec)

  1. scripts/lint.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    mypy fastapi
    ruff check fastapi tests docs_src scripts
    Shell Script
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 00:03:14 GMT 2024
    - 125 bytes
    - Viewed (0)
  2. .pre-commit-config.yaml

        -   id: check-yaml
            args:
            -   --unsafe
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    -   repo: https://github.com/charliermarsh/ruff-pre-commit
        rev: v0.2.0
        hooks:
        -   id: ruff
            args:
            - --fix
        -   id: ruff-format
    ci:
        autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 737 bytes
    - Viewed (0)
  3. scripts/format.sh

    #!/bin/sh -e
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Shell Script
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 00:03:14 GMT 2024
    - 112 bytes
    - Viewed (0)
  4. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<8.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    ruff ==0.2.0
    dirty-equals ==0.6.0
    # TODO: once removing databases from tutorial, upgrade SQLAlchemy
    # probably when including SQLModel
    sqlalchemy >=1.3.18,<1.4.43
    databases[sqlite] >=0.3.2,<0.7.0
    flask >=1.1.2,<3.0.0
    anyio[trio] >=3.2.1,<4.0.0
    python-jose[cryptography] >=3.3.0,<4.0.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 23:48:42 GMT 2024
    - 496 bytes
    - Viewed (0)
  5. pyproject.toml

    "docs_src/dependencies/tutorial008b.py" = ["B904"]
    "docs_src/dependencies/tutorial008b_an.py" = ["B904"]
    "docs_src/dependencies/tutorial008b_an_py39.py" = ["B904"]
    
    
    [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`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. 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).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  7. docs_src/metadata/tutorial001_1.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/",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 767 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_metadata/test_tutorial001_1.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
                "title": "ChimichangApp",
                "summary": "Deadpool's favorite app. Nuff said.",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. docs_src/metadata/tutorial001.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/",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 805 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_metadata/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {
                "title": "ChimichangApp",
                "summary": "Deadpool's favorite app. Nuff said.",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top