Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tox-dev/platformdirs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.3.6
Choose a base ref
...
head repository: tox-dev/platformdirs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.3.7
Choose a head ref

Commits on Sep 23, 2024

  1. Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 (#309)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 23, 2024
    Copy the full SHA
    d0ba4ae View commit details

Commits on Sep 24, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#310)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Sep 24, 2024
    Copy the full SHA
    362ab3c View commit details
  2. Copy the full SHA
    4d8f262 View commit details

Commits on Oct 1, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#313)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 1, 2024
    Copy the full SHA
    5513769 View commit details

Commits on Oct 5, 2024

  1. Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 in the all gro…

    …up (#314)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 5, 2024
    Copy the full SHA
    86d5b46 View commit details

Commits on Oct 7, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#316)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 7, 2024
    Copy the full SHA
    dcc40c0 View commit details

Commits on Oct 14, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#317)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 14, 2024
    Copy the full SHA
    f0354a5 View commit details

Commits on Oct 21, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#318)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 21, 2024
    Copy the full SHA
    2efc3a5 View commit details

Commits on Oct 28, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#319)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 28, 2024
    Copy the full SHA
    2a359fa View commit details

Commits on Oct 30, 2024

  1. Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 in the all gro…

    …up (#320)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 30, 2024
    Copy the full SHA
    2a074b0 View commit details

Commits on Nov 7, 2024

  1. Bump pypa/gh-action-pypi-publish in the all group across 1 directory (#…

    …323)
    
    Bumps the all group with 1 update in the / directory: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.11.0 to 1.12.2
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@v1.11.0...v1.12.2)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 7, 2024
    Copy the full SHA
    099e8b4 View commit details
  2. [pre-commit.ci] pre-commit autoupdate (#321)

    updates:
    - [github.com/tox-dev/pyproject-fmt: v2.4.3 → v2.5.0](tox-dev/pyproject-fmt@v2.4.3...v2.5.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](astral-sh/ruff-pre-commit@v0.7.1...v0.7.2)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 7, 2024
    Copy the full SHA
    6f082d8 View commit details

Commits on Nov 11, 2024

  1. [pre-commit.ci] pre-commit autoupdate (#325)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](astral-sh/ruff-pre-commit@v0.7.2...v0.7.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 11, 2024
    Copy the full SHA
    7ed2ea6 View commit details

Commits on Nov 25, 2024

  1. Bump astral-sh/setup-uv from 3 to 4 in the all group (#327)

    Bumps the all group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).
    
    
    Updates `astral-sh/setup-uv` from 3 to 4
    - [Release notes](https://github.com/astral-sh/setup-uv/releases)
    - [Commits](astral-sh/setup-uv@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: astral-sh/setup-uv
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 25, 2024
    Copy the full SHA
    2bf1ba4 View commit details

Commits on Dec 20, 2024

  1. Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 in the all gro…

    …up (#328)
    
    Bumps the all group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.12.2 to 1.12.3
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@v1.12.2...v1.12.3)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 20, 2024
    Copy the full SHA
    122bed7 View commit details

Commits on Dec 30, 2024

  1. Bump astral-sh/setup-uv from 4 to 5 in the all group (#329)

    Bumps the all group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).
    
    
    Updates `astral-sh/setup-uv` from 4 to 5
    - [Release notes](https://github.com/astral-sh/setup-uv/releases)
    - [Commits](astral-sh/setup-uv@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: astral-sh/setup-uv
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 30, 2024
    Copy the full SHA
    b769439 View commit details

Commits on Jan 13, 2025

  1. Copy the full SHA
    8c660e6 View commit details

Commits on Jan 21, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#326)

    * [pre-commit.ci] pre-commit autoupdate
    
    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.31.0](python-jsonschema/check-jsonschema@0.29.4...0.31.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.9.2](astral-sh/ruff-pre-commit@v0.7.3...v0.9.2)
    - [github.com/rbubley/mirrors-prettier: v3.3.3 → v3.4.2](rbubley/mirrors-prettier@v3.3.3...v3.4.2)
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix failures
    
    Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
    
    ---------
    
    Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
    pre-commit-ci[bot] and gaborbernat authored Jan 21, 2025
    Copy the full SHA
    d0ab550 View commit details

Commits on Jan 24, 2025

  1. Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 in the all gro…

    …up (#332)
    
    Bumps the all group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).
    
    
    Updates `pypa/gh-action-pypi-publish` from 1.12.3 to 1.12.4
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@v1.12.3...v1.12.4)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: all
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 24, 2025
    Copy the full SHA
    55f7c0f View commit details

Commits on Jan 28, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#333)

    updates:
    - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@v2.3.0...v2.4.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](astral-sh/ruff-pre-commit@v0.9.2...v0.9.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jan 28, 2025
    Copy the full SHA
    6e544b3 View commit details

Commits on Feb 4, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#335)

    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.31.0 → 0.31.1](python-jsonschema/check-jsonschema@0.31.0...0.31.1)
    - [github.com/codespell-project/codespell: v2.4.0 → v2.4.1](codespell-project/codespell@v2.4.0...v2.4.1)
    - [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](astral-sh/ruff-pre-commit@v0.9.3...v0.9.4)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 4, 2025
    Copy the full SHA
    9bfd6e8 View commit details

Commits on Feb 10, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#336)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.6](astral-sh/ruff-pre-commit@v0.9.4...v0.9.6)
    - [github.com/rbubley/mirrors-prettier: v3.4.2 → v3.5.0](rbubley/mirrors-prettier@v3.4.2...v3.5.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 10, 2025
    Copy the full SHA
    330deb2 View commit details

Commits on Feb 18, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#338)

    updates:
    - [github.com/rbubley/mirrors-prettier: v3.5.0 → v3.5.1](rbubley/mirrors-prettier@v3.5.0...v3.5.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 18, 2025
    Copy the full SHA
    11e9d9a View commit details

Commits on Feb 24, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#339)

    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.31.2](python-jsonschema/check-jsonschema@0.31.1...0.31.2)
    - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.9.7](astral-sh/ruff-pre-commit@v0.9.6...v0.9.7)
    - [github.com/rbubley/mirrors-prettier: v3.5.1 → v3.5.2](rbubley/mirrors-prettier@v3.5.1...v3.5.2)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Feb 24, 2025
    Copy the full SHA
    263f12a View commit details

Commits on Mar 4, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#340)

    updates:
    - [github.com/tox-dev/pyproject-fmt: v2.5.0 → v2.5.1](tox-dev/pyproject-fmt@v2.5.0...v2.5.1)
    - [github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.9.9](astral-sh/ruff-pre-commit@v0.9.7...v0.9.9)
    - [github.com/rbubley/mirrors-prettier: v3.5.2 → v3.5.3](rbubley/mirrors-prettier@v3.5.2...v3.5.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Mar 4, 2025
    Copy the full SHA
    59d09e5 View commit details

Commits on Mar 11, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#341)

    updates:
    - [github.com/python-jsonschema/check-jsonschema: 0.31.2 → 0.31.3](python-jsonschema/check-jsonschema@0.31.2...0.31.3)
    - [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.9.10](astral-sh/ruff-pre-commit@v0.9.9...v0.9.10)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Mar 11, 2025
    Copy the full SHA
    6a81b38 View commit details

Commits on Mar 19, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#342)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.9.10 → v0.11.0](astral-sh/ruff-pre-commit@v0.9.10...v0.11.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Mar 19, 2025
    Copy the full SHA
    00c695b View commit details
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "daily"
groups:
all:
patterns:
- "*"
7 changes: 3 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@ jobs:
- "3.11"
- "3.10"
- "3.9"
- "3.8"
os:
- ubuntu-latest
- windows-latest
@@ -37,7 +36,7 @@ jobs:
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
@@ -94,7 +93,7 @@ jobs:
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
@@ -138,7 +137,7 @@ jobs:
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
@@ -43,6 +43,6 @@ jobs:
name: ${{ env.dists-artifact-name }}
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.10.1
uses: pypa/gh-action-pypi-publish@v1.12.4
with:
attestations: true
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.2
rev: 0.31.3
hooks:
- id: check-github-workflows
args: ["--verbose"]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies: ["tomli>=2.0.1"]
additional_dependencies: ["tomli>=2.2.1"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.2.3"
rev: "v2.5.1"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.6.5"
rev: "v0.11.0"
hooks:
- id: ruff-format
- id: ruff
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.3.3"
rev: "v3.5.3"
hooks:
- id: prettier
args: ["--print-width=120", "--prose-wrap=always"]
58 changes: 28 additions & 30 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.4",
"hatchling>=1.25",
"hatchling>=1.27",
]

[project]
@@ -24,15 +24,14 @@ maintainers = [
{ name = "Ofek Lev", email = "oss@ofek.dev" },
{ name = "Ronny Pfannschmidt", email = "opensource@ronnypfannschmidt.de" },
]
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -48,18 +47,18 @@ dynamic = [
optional-dependencies.docs = [
"furo>=2024.8.6",
"proselint>=0.14",
"sphinx>=8.0.2",
"sphinx-autodoc-typehints>=2.4",
"sphinx>=8.1.3",
"sphinx-autodoc-typehints>=3",
]
optional-dependencies.test = [
"appdirs==1.4.4",
"covdefaults>=2.3",
"pytest>=8.3.2",
"pytest-cov>=5",
"pytest>=8.3.4",
"pytest-cov>=6",
"pytest-mock>=3.14",
]
optional-dependencies.type = [
"mypy>=1.11.2",
"mypy>=1.14.1",
]

urls.Changelog = "https://github.com/tox-dev/platformdirs/releases"
@@ -102,7 +101,6 @@ matrix = [
"3.11",
"3.10",
"3.9",
"3.8",
"pypy3.10",
] },
]
@@ -203,41 +201,41 @@ scripts = { "run" = [
] }

[tool.ruff]
target-version = "py38"
line-length = 120
format.preview = true
lint.preview = true
select = [
lint.select = [
"ALL",
]
isort = { known-first-party = [
"platformdirs",
"tests",
], required-imports = [
"from __future__ import annotations",
] }
ignore = [
"ANN101", # Missing type annotation for `self` in method
"D301", # Use `r"""` if any backslashes in a docstring
"D205", # 1 blank line required between summary line and description
"D401", # The first line of docstring should be in imperative mood
lint.ignore = [
"COM812", # conflict
"CPY", # no copyright notices
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
"D205", # 1 blank line required between summary line and description
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
"S104", # Possible binding to all interfaces
"CPY", # no copyright notices
"D301", # Use `r"""` if any backslashes in a docstring
"D401", # The first line of docstring should be in imperative mood
"DOC", # no support for restructuredtext
"S104", # Possible binding to all interfaces
]
per-file-ignores."tests/**/*.py" = [
"S101", # asserts allowed in tests
lint.per-file-ignores."tests/**/*.py" = [
"D", # don't care about documentation in tests
"FBT", # don't care about booleans as positional arguments in tests
"INP001", # no implicit namespace
"D", # don't care about documentation in tests
"S603", # `subprocess` call: check for execution of untrusted input
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
"PLC2701", # Private name import
"PLR0917", # Too many positional arguments
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
"S101", # asserts allowed in tests
"S603", # `subprocess` call: check for execution of untrusted input
]

lint.isort = { known-first-party = [
"platformdirs",
"tests",
], required-imports = [
"from __future__ import annotations",
] }
lint.preview = true

[tool.codespell]
builtin = "clear,usage,en-GB_to_en-US"
count = true
40 changes: 20 additions & 20 deletions src/platformdirs/__init__.py
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ def _set_platform_dir_class() -> type[PlatformDirsABC]:

def user_data_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
roaming: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -76,7 +76,7 @@ def user_data_dir(

def site_data_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
multipath: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -100,7 +100,7 @@ def site_data_dir(

def user_config_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
roaming: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -124,7 +124,7 @@ def user_config_dir(

def site_config_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
multipath: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -148,7 +148,7 @@ def site_config_dir(

def user_cache_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -172,7 +172,7 @@ def user_cache_dir(

def site_cache_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -196,7 +196,7 @@ def site_cache_dir(

def user_state_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
roaming: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -220,7 +220,7 @@ def user_state_dir(

def user_log_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -274,7 +274,7 @@ def user_desktop_dir() -> str:

def user_runtime_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -298,7 +298,7 @@ def user_runtime_dir(

def site_runtime_dir(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -322,7 +322,7 @@ def site_runtime_dir(

def user_data_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
roaming: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -346,7 +346,7 @@ def user_data_path(

def site_data_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
multipath: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -370,7 +370,7 @@ def site_data_path(

def user_config_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
roaming: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -394,7 +394,7 @@ def user_config_path(

def site_config_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
multipath: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -418,7 +418,7 @@ def site_config_path(

def site_cache_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -442,7 +442,7 @@ def site_cache_path(

def user_cache_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -466,7 +466,7 @@ def user_cache_path(

def user_state_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
roaming: bool = False, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -490,7 +490,7 @@ def user_state_path(

def user_log_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -544,7 +544,7 @@ def user_desktop_path() -> Path:

def user_runtime_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
@@ -568,7 +568,7 @@ def user_runtime_path(

def site_runtime_path(
appname: str | None = None,
appauthor: str | None | Literal[False] = None,
appauthor: str | Literal[False] | None = None,
version: str | None = None,
opinion: bool = True, # noqa: FBT001, FBT002
ensure_exists: bool = False, # noqa: FBT001, FBT002
Loading