hackerrank 2026.7.30__tar.gz → 2026.8.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.github/dependabot.yml +5 -0
  2. hackerrank-2026.8.16/.github/workflows/autofix.yml +37 -0
  3. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.github/workflows/lint.yml +6 -8
  4. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.gitignore +3 -0
  5. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.pre-commit-config.yaml +40 -41
  6. hackerrank-2026.8.16/.vale.ini +14 -0
  7. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/CHANGELOG.rst +5 -0
  8. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/PKG-INFO +11 -9
  9. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/pyproject.toml +17 -8
  10. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/async_client.py +199 -34
  11. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/client.py +198 -33
  12. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/transports.py +12 -12
  13. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/PKG-INFO +11 -9
  14. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/SOURCES.txt +2 -0
  15. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/requires.txt +10 -8
  16. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/scm_file_list.json +37 -35
  17. hackerrank-2026.8.16/src/hackerrank.egg-info/scm_version.json +8 -0
  18. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/test_client.py +3 -3
  19. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/test_coverage_gaps.py +3 -3
  20. hackerrank-2026.7.30/src/hackerrank.egg-info/scm_version.json +0 -8
  21. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.git_archival.txt +0 -0
  22. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.gitattributes +0 -0
  23. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.github/workflows/ci.yml +0 -0
  24. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.github/workflows/dependabot-merge.yml +0 -0
  25. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.github/workflows/publish-site.yml +0 -0
  26. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.github/workflows/release.yml +0 -0
  27. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/.prettierrc +0 -0
  28. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/LICENSE +0 -0
  29. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/README.rst +0 -0
  30. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/conftest.py +0 -0
  31. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/__init__.py +0 -0
  32. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/api-reference.rst +0 -0
  33. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/changelog.rst +0 -0
  34. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/conf.py +0 -0
  35. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/contributing.rst +0 -0
  36. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/index.rst +0 -0
  37. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/openapi-spec.rst +0 -0
  38. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/release-process.rst +0 -0
  39. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/source/unreleased.rst +0 -0
  40. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/docs/towncrier_template.rst.jinja +0 -0
  41. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/newsfragments/.gitkeep +0 -0
  42. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/openapi.json +0 -0
  43. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/setup.cfg +0 -0
  44. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/spelling_private_dict.txt +0 -0
  45. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/__init__.py +0 -0
  46. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/_dict_types.py +0 -0
  47. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/exceptions.py +0 -0
  48. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/py.typed +0 -0
  49. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank/types.py +0 -0
  50. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/dependency_links.txt +0 -0
  51. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/not-zip-safe +0 -0
  52. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/src/hackerrank.egg-info/top_level.txt +0 -0
  53. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/__init__.py +0 -0
  54. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/conftest.py +0 -0
  55. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/test_async_client.py +0 -0
  56. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/test_endpoints.py +0 -0
  57. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/tests/test_types.py +0 -0
  58. {hackerrank-2026.7.30 → hackerrank-2026.8.16}/zizmor.yml +0 -0
@@ -12,3 +12,8 @@ updates:
12
12
  schedule:
13
13
  interval: daily
14
14
  open-pull-requests-limit: 10
15
+
16
+ - package-ecosystem: pre-commit
17
+ directory: /
18
+ schedule:
19
+ interval: daily
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: autofix.ci
3
+
4
+ on:
5
+ pull_request:
6
+ branches: [main]
7
+ push:
8
+ branches: [main]
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ autofix:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v7
18
+ with:
19
+ fetch-depth: 0
20
+ fetch-tags: true
21
+ persist-credentials: false
22
+
23
+ - name: Install uv
24
+ uses: astral-sh/setup-uv@v9.0.0
25
+
26
+ - name: Run fixers
27
+ uses: j178/prek-action@v3.0.0
28
+ with:
29
+ prek-version: 0.4.11
30
+ extra-args: >-
31
+ --all-files --hook-stage pre-commit --no-fail-fast --verbose
32
+ env:
33
+ UV_NO_CACHE: '1'
34
+ UV_PYTHON: 3.13
35
+
36
+ - uses: autofix-ci/action@v1.3.4
37
+ if: always()
@@ -35,17 +35,15 @@ jobs:
35
35
  cache-dependency-glob: '**/pyproject.toml'
36
36
 
37
37
  - name: Lint
38
- # Use bash to ensure the step fails if any command fails.
39
- # PowerShell does not fail on intermediate command failures by default.
40
- shell: bash
41
- run: uv run --extra=dev prek run --all-files --hook-stage ${{ matrix.hook-stage }}
42
- --verbose
38
+ uses: j178/prek-action@v3.0.0
39
+ with:
40
+ prek-version: 0.4.11
41
+ extra-args: >-
42
+ --all-files --hook-stage ${{ matrix.hook-stage }} --verbose
43
43
  env:
44
+ UV_NO_CACHE: '1'
44
45
  UV_PYTHON: ${{ matrix.python-version }}
45
46
 
46
- - uses: pre-commit-ci/lite-action@v1.1.0
47
- if: always()
48
-
49
47
  completion-lint:
50
48
  needs: build
51
49
  runs-on: ubuntu-latest
@@ -107,3 +107,6 @@ ENV/
107
107
  src/*/_setuptools_scm_version.txt
108
108
 
109
109
  uv.lock
110
+
111
+ # Vale styles downloaded by ``vale sync``
112
+ styles/
@@ -6,47 +6,6 @@ fail_fast: true
6
6
  # See https://pre-commit.com for more information
7
7
  # See https://pre-commit.com/hooks.html for more hooks
8
8
 
9
- ci:
10
- # We use system Python, with required dependencies specified in pyproject.toml.
11
- # We therefore cannot use those dependencies in pre-commit CI.
12
- skip:
13
- - actionlint
14
- - sphinx-lint
15
- - strict-kwargs-fix
16
- - check-manifest
17
- - deptry
18
- - doc8
19
- - pydocstringformatter
20
- - docs
21
- - interrogate
22
- - interrogate-docs
23
- - linkcheck
24
- - mypy
25
- - mypy-docs
26
- - pylint
27
- - pyproject-fmt-fix
28
- - pyright
29
- - pyright-docs
30
- - pyright-verifytypes
31
- - ty
32
- - ty-docs
33
- - pyroma
34
- - ruff-check-fix
35
- - ruff-check-fix-docs
36
- - ruff-format-fix
37
- - ruff-format-fix-docs
38
- - shellcheck
39
- - shellcheck-docs
40
- - shfmt
41
- - shfmt-docs
42
- - spelling
43
- - vulture
44
- - vulture-docs
45
- - yamlfix
46
- - zizmor
47
- - pyrefly
48
- - pyrefly-docs
49
-
50
9
  default_install_hook_types: [pre-commit, pre-push]
51
10
 
52
11
  repos:
@@ -309,6 +268,46 @@ repos:
309
268
  stages: [pre-commit]
310
269
  require_serial: true
311
270
 
271
+ - id: no-defaults
272
+ name: no-defaults
273
+ entry: uv run --extra=dev no-defaults
274
+ language: python
275
+ types_or: [python]
276
+ additional_dependencies:
277
+ - *uv_version
278
+ stages: [pre-commit]
279
+ require_serial: true
280
+
281
+ # Vale enforces prose style rules, such as banning em dashes, in
282
+ # reStructuredText and Markdown files.
283
+ # The rules come from the ``ai-tells`` package pinned in ``.vale.ini``,
284
+ # which ``vale sync`` downloads into the (gitignored) ``styles``
285
+ # directory.
286
+ # Vale needs ``rst2html`` from Docutils on the ``PATH`` to parse
287
+ # reStructuredText.
288
+ # ``vale sync`` also runs when ``.vale.ini`` changes, so a package
289
+ # bump takes effect without waiting for the next reStructuredText
290
+ # change.
291
+ - id: vale-sync
292
+ name: vale sync
293
+ entry: uv run --extra=dev vale sync
294
+ language: python
295
+ pass_filenames: false
296
+ files: (\.(rst|md)$|^\.vale\.ini$)
297
+ additional_dependencies:
298
+ - *uv_version
299
+ stages: [pre-commit]
300
+
301
+ - id: vale
302
+ name: vale
303
+ entry: uv run --extra=dev vale
304
+ language: python
305
+ types_or: [rst, markdown]
306
+ require_serial: true
307
+ additional_dependencies:
308
+ - *uv_version
309
+ stages: [pre-commit]
310
+
312
311
  - id: doc8
313
312
  name: doc8
314
313
  entry: uv run --extra=dev -m doc8
@@ -0,0 +1,14 @@
1
+ StylesPath = styles
2
+ MinAlertLevel = error
3
+
4
+ Packages = https://github.com/tbhb/vale-ai-tells/releases/download/v1.29.0/ai-tells.zip
5
+
6
+ [*.{rst,md}]
7
+ BasedOnStyles = ai-tells
8
+
9
+ # These rules misclassify established technical, example, or release-note prose
10
+ # in this repository. All other ai-tells rules remain enforced.
11
+ ai-tells.FigurativeLands = NO
12
+ ai-tells.FormalTransitions = NO
13
+ ai-tells.OverusedVocabulary = NO
14
+ ai-tells.VerbTricolon = NO
@@ -3,6 +3,11 @@ Changelog
3
3
 
4
4
  .. towncrier release notes start
5
5
 
6
+ 2026.08.16
7
+ ----------
8
+
9
+ No significant changes.
10
+
6
11
  2026.07.30
7
12
  ----------
8
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hackerrank
3
- Version: 2026.7.30
3
+ Version: 2026.8.16
4
4
  Summary: Interact with the HackerRank for Work API.
5
5
  Author-email: Adam Dangoor <adamdangoor@gmail.com>
6
6
  License-Expression: MIT
@@ -30,15 +30,16 @@ Requires-Dist: furo==2025.12.19; extra == "dev"
30
30
  Requires-Dist: interrogate==1.7.0; extra == "dev"
31
31
  Requires-Dist: mypy[faster-cache]==2.3.0; extra == "dev"
32
32
  Requires-Dist: mypy-strict-kwargs==2026.7.19.1; extra == "dev"
33
+ Requires-Dist: no-defaults==2.1.0; extra == "dev"
33
34
  Requires-Dist: openapi-mock==2026.3.2; extra == "dev"
34
- Requires-Dist: prek==0.4.11; extra == "dev"
35
+ Requires-Dist: prek==0.4.13; extra == "dev"
35
36
  Requires-Dist: pydocstringformatter==1.0.0; extra == "dev"
36
37
  Requires-Dist: pydocstyle==6.3; extra == "dev"
37
38
  Requires-Dist: pygments==2.20.0; extra == "dev"
38
- Requires-Dist: pylint[spelling]==4.0.6; extra == "dev"
39
+ Requires-Dist: pylint[spelling]==4.0.7; extra == "dev"
39
40
  Requires-Dist: pylint-per-file-ignores==3.2.1; extra == "dev"
40
- Requires-Dist: pyproject-fmt==2.26.0; extra == "dev"
41
- Requires-Dist: pyrefly==1.1.1; extra == "dev"
41
+ Requires-Dist: pyproject-fmt==2.27.0; extra == "dev"
42
+ Requires-Dist: pyrefly==1.2.0; extra == "dev"
42
43
  Requires-Dist: pyright==1.1.411; extra == "dev"
43
44
  Requires-Dist: pyroma==5.0.1; extra == "dev"
44
45
  Requires-Dist: pytest==9.1.1; extra == "dev"
@@ -47,23 +48,24 @@ Requires-Dist: pytest-beartype-tests==2026.4.26; extra == "dev"
47
48
  Requires-Dist: pytest-cov==7.1.0; extra == "dev"
48
49
  Requires-Dist: pyyaml==6.0.3; extra == "dev"
49
50
  Requires-Dist: respx==0.23.1; extra == "dev"
50
- Requires-Dist: ruff==0.16.0; extra == "dev"
51
+ Requires-Dist: ruff==0.16.2; extra == "dev"
51
52
  Requires-Dist: shellcheck-py==0.11.0.1; extra == "dev"
52
53
  Requires-Dist: shfmt-py==4.0.0; extra == "dev"
53
54
  Requires-Dist: sphinx==9.1.0; extra == "dev"
54
55
  Requires-Dist: sphinx-copybutton==0.5.2; extra == "dev"
55
56
  Requires-Dist: sphinx-lint==1.0.2; extra == "dev"
56
57
  Requires-Dist: sphinx-pyproject==0.3.0; extra == "dev"
57
- Requires-Dist: sphinx-substitution-extensions==2026.6.17; extra == "dev"
58
+ Requires-Dist: sphinx-substitution-extensions==2026.8.5; extra == "dev"
58
59
  Requires-Dist: sphinxcontrib-spelling==8.0.2; extra == "dev"
59
60
  Requires-Dist: sphinxcontrib-towncrier==0.5.0a0; extra == "dev"
60
61
  Requires-Dist: strict-kwargs==2026.7.24; extra == "dev"
61
62
  Requires-Dist: sybil==10.1.0; extra == "dev"
62
63
  Requires-Dist: towncrier==25.8.0; extra == "dev"
63
- Requires-Dist: ty==0.0.65; extra == "dev"
64
+ Requires-Dist: ty==0.0.70; extra == "dev"
65
+ Requires-Dist: vale==3.13.0.0; extra == "dev"
64
66
  Requires-Dist: vulture==2.16; extra == "dev"
65
67
  Requires-Dist: yamlfix==1.19.1; extra == "dev"
66
- Requires-Dist: zizmor==1.28.0; extra == "dev"
68
+ Requires-Dist: zizmor==1.29.0; extra == "dev"
67
69
  Provides-Extra: release
68
70
  Requires-Dist: check-wheel-contents==0.6.3; extra == "release"
69
71
  Requires-Dist: towncrier==25.8.0; extra == "release"
@@ -46,15 +46,16 @@ optional-dependencies.dev = [
46
46
  "interrogate==1.7.0",
47
47
  "mypy[faster-cache]==2.3.0",
48
48
  "mypy-strict-kwargs==2026.7.19.1",
49
+ "no-defaults==2.1.0",
49
50
  "openapi-mock==2026.3.2",
50
- "prek==0.4.11",
51
+ "prek==0.4.13",
51
52
  "pydocstringformatter==1.0.0",
52
53
  "pydocstyle==6.3",
53
54
  "pygments==2.20.0",
54
- "pylint[spelling]==4.0.6",
55
+ "pylint[spelling]==4.0.7",
55
56
  "pylint-per-file-ignores==3.2.1",
56
- "pyproject-fmt==2.26.0",
57
- "pyrefly==1.1.1",
57
+ "pyproject-fmt==2.27.0",
58
+ "pyrefly==1.2.0",
58
59
  "pyright==1.1.411",
59
60
  "pyroma==5.0.1",
60
61
  "pytest==9.1.1",
@@ -63,7 +64,7 @@ optional-dependencies.dev = [
63
64
  "pytest-cov==7.1.0",
64
65
  "pyyaml==6.0.3",
65
66
  "respx==0.23.1",
66
- "ruff==0.16.0",
67
+ "ruff==0.16.2",
67
68
  # We add shellcheck-py not only for shell scripts and shell code blocks,
68
69
  # but also because having it installed means that ``actionlint-py`` will
69
70
  # use it to lint shell commands in GitHub workflow files.
@@ -73,7 +74,7 @@ optional-dependencies.dev = [
73
74
  "sphinx-copybutton==0.5.2",
74
75
  "sphinx-lint==1.0.2",
75
76
  "sphinx-pyproject==0.3.0",
76
- "sphinx-substitution-extensions==2026.6.17",
77
+ "sphinx-substitution-extensions==2026.8.5",
77
78
  "sphinxcontrib-spelling==8.0.2",
78
79
  # ``sphinxcontrib-towncrier`` renders unreleased news fragments
79
80
  # into docs/source/unreleased.rst during Sphinx builds.
@@ -81,10 +82,11 @@ optional-dependencies.dev = [
81
82
  "strict-kwargs==2026.7.24",
82
83
  "sybil==10.1.0",
83
84
  "towncrier==25.8.0",
84
- "ty==0.0.65",
85
+ "ty==0.0.70",
86
+ "vale==3.13.0.0",
85
87
  "vulture==2.16",
86
88
  "yamlfix==1.19.1",
87
- "zizmor==1.28.0",
89
+ "zizmor==1.29.0",
88
90
  ]
89
91
  optional-dependencies.release = [ "check-wheel-contents==0.6.3", "towncrier==25.8.0" ]
90
92
  urls.Documentation = "https://adamtheturtle.github.io/hackerrank/"
@@ -146,6 +148,7 @@ lint.per-file-ignores."tests/*.py" = [
146
148
  lint.unfixable = [
147
149
  "ERA001",
148
150
  ]
151
+ lint.external = [ "NOD" ]
149
152
  lint.flake8-tidy-imports.banned-api."typing.cast".msg = "typing.cast is banned: use explicit type narrowing or a typed variable instead."
150
153
  lint.pydocstyle.convention = "google"
151
154
 
@@ -237,6 +240,7 @@ ignore = [
237
240
  ".git_archival.txt",
238
241
  ".pre-commit-config.yaml",
239
242
  ".prettierrc",
243
+ ".vale.ini",
240
244
  ".yamlfmt",
241
245
  "CHANGELOG.rst",
242
246
  "ci",
@@ -522,6 +526,7 @@ max_supported_python = "3.14"
522
526
  [tool.mypy]
523
527
  files = [ "." ]
524
528
  exclude = [ "build" ]
529
+ exclude_gitignore = true
525
530
  follow_untyped_imports = true
526
531
  strict = true
527
532
  plugins = [
@@ -595,3 +600,7 @@ ignore_path = [
595
600
  [tool.yamlfix]
596
601
  section_whitelines = 1
597
602
  whitelines = 1
603
+
604
+ [tool.no_defaults]
605
+ private_only = true
606
+ per_file_enforcement."tests/**" = "all"