Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for is_relative_to (0.08 seconds)

  1. scripts/tests/test_translation_fixer/conftest.py

    def pytest_collection_modifyitems(config, items: list[pytest.Item]) -> None:
        if sys.platform != "win32":
            return
    
        for item in items:
            item_path = Path(item.fspath).resolve()
            if item_path.is_relative_to(THIS_DIR):
                item.add_marker(skip_on_windows)
    
    
    @pytest.fixture(name="runner")
    def get_runner():
        runner = CliRunner()
        with runner.isolated_filesystem():
            yield runner
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 25 10:37:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. scripts/docs.py

    
    @app.command()
    def add_permalinks_page(path: Path, update_existing: bool = False):
        """
        Add or update header permalinks in specific page of En docs.
        """
    
        if not path.is_relative_to(en_docs_path / "docs"):
            raise RuntimeError(f"Path must be inside {en_docs_path}")
        rel_path = path.relative_to(en_docs_path / "docs")
    
        # Skip excluded sections
    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)
Back to Top