From 340ad89ea6b67e01ac07d8b9276307f4f0cd2b31 Mon Sep 17 00:00:00 2001 From: Arij Roy Date: Fri, 17 Jul 2026 02:09:09 +0530 Subject: [PATCH 1/2] Fix typos and update Black target-version to match Python requirement - CONTRIBUTING.md: 'envoronments' -> 'environments' - system.py: 'exaclty' -> 'exactly' - pyproject.toml: Black target-version py38 -> py310 (project requires >=3.10) --- CONTRIBUTING.md | 2 +- dbt_common/clients/system.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 690f7120..e8eaf303 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -92,7 +92,7 @@ Once you're able to manually test that your code change is working as expected, See the pyproject.toml for a complete list of custom commands. See the h[atch docs](https://hatch.pypa.io/latest/cli/reference/) for a description of built in commands and flags. -Run `hatch env show` to view a list of all envoronments and all commands available within them. +Run `hatch env show` to view a list of all environments and all commands available within them. Example uses: diff --git a/dbt_common/clients/system.py b/dbt_common/clients/system.py index 37d88157..afbeb022 100644 --- a/dbt_common/clients/system.py +++ b/dbt_common/clients/system.py @@ -385,7 +385,7 @@ def _supports_long_paths() -> bool: # Eryk Sun says to use `WinDLL('ntdll')` instead of `windll.ntdll` because # of pointer caching in a comment here: # https://stackoverflow.com/a/35097999/11262881 - # I don't know exaclty what he means, but I am inclined to believe him as + # I don't know exactly what he means, but I am inclined to believe him as # he's pretty active on Python windows bugs! else: try: diff --git a/pyproject.toml b/pyproject.toml index 365780f6..0f0789bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,7 +117,7 @@ mypy = "python -m mypy ." [tool.black] line-length = 99 -target-version = ['py38'] +target-version = ['py310'] [tool.flake8] max-line-length = 99 From ab6ba800dca87aa0c0e8263125cb78020e13b5cc Mon Sep 17 00:00:00 2001 From: arijitroy003 Date: Fri, 17 Jul 2026 18:21:42 +0530 Subject: [PATCH 2/2] Add changelog entry --- .changes/unreleased/Under the Hood-20260717-030000.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Under the Hood-20260717-030000.yaml diff --git a/.changes/unreleased/Under the Hood-20260717-030000.yaml b/.changes/unreleased/Under the Hood-20260717-030000.yaml new file mode 100644 index 00000000..75b8dfda --- /dev/null +++ b/.changes/unreleased/Under the Hood-20260717-030000.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Fix typos in CONTRIBUTING.md and system.py, update Black target-version to match Python >=3.10 requirement +time: 2026-07-17T03:00:00.000000+05:30 +custom: + Author: arijitroy003 + Issue: "370"