3388806e33
No need to explicitly specify Python 3 nowadays
2025-04-28 09:48:16 +02:00
c40b6a44eb
Fix CI on Windows: pip upgrade pip
...
On Windows, pip.exe cannot update pip.exe if pip.exe is already running.
Use an alternative command that avoids running the pip.exe executable.
2025-04-28 09:37:37 +02:00
91ca67504e
MAINT: Rename CI file and run name ( #3667 )
2025-03-13 14:34:19 +00:00
faf0c8d0bb
codespell-private.yml: Do not codespell digital signature files ( #3623 )
...
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2025-01-30 20:36:48 +00:00
db0100e956
Run pytest GitHub Action on an ARM processor ( #3619 )
2025-01-21 13:43:49 -05:00
7ba821bc58
If writeable
is OK, so is overwriteable
( #3593 )
2024-12-02 12:35:09 -05:00
2f330f72da
Bump codecov/codecov-action from 4 to 5
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 09:25:55 +01:00
a52c340fc1
Support Python 3.13 ( #3560 )
2024-10-07 11:59:11 -04:00
e2f26d8de1
master → main ( #3555 )
2024-09-26 13:33:07 -04:00
f4140cd3be
Start testing with Python 3.13 ( #3488 )
2024-07-15 16:34:05 -04:00
acbedb27d0
MAINT: Fix codecov ( #3451 )
2024-06-11 11:43:46 -04:00
8097264ed0
Exclude bots from generated release notes ( #3432 )
2024-05-24 10:22:04 -04:00
8fa1baab01
Implement inline ignores ( #2400 )
...
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
2024-03-10 19:34:55 +01:00
a03457ea6e
Bump codecov/codecov-action from 3 to 4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 08:21:30 +01:00
4587d788a7
Fix ruff alerts (currently) not caught by pre-commit ( #3162 )
2024-01-19 15:33:59 -05:00
3a3058ad35
Add prettier to pre-commit ( #3268 )
2024-01-02 10:25:48 -05:00
198f3a77ed
Bump actions/download-artifact from 3 to 4 ( #3254 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 02:22:35 +00:00
489707e0fa
Bump actions/upload-artifact from 3 to 4 ( #3253 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 02:19:43 +00:00
e51e3b7441
Bump actions/setup-python from 4 to 5 ( #3240 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 21:36:35 -05:00
75eaa8a324
Add a timeout to jobs that may benefit from it ( #3199 )
2023-11-06 11:13:31 -05:00
85a61ea97c
Add explicit Python 3.12 support ( #3121 )
2023-10-05 01:52:35 -04:00
d880fbab0e
Revert b397a6e4 / #3078
...
GitHub Action codecov-action@v4 was made available, then disappeared!
2023-09-15 16:39:58 +02:00
b397a6e4f7
Bump codecov/codecov-action from 3 to 4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 07:46:38 +02:00
63b45681f4
Bump actions/checkout from 3 to 4 ( #3066 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 09:01:42 -04:00
c5febe6841
Remove redundant linting CI workflows handled by pre-commit.ci ( #2969 )
2023-08-08 14:29:23 -04:00
15c861a13c
Drop support for Python 3.7
2023-07-25 14:35:53 +02:00
c5bc4d7b5e
Test to check our string escape word triggers on its own ( #2879 )
2023-06-15 10:45:22 -04:00
abd93b0787
Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with ruff ( #2779 )
2023-03-10 13:33:01 -05:00
ec0f41b957
BUG: Fix bug with toml triage ( #2774 )
2023-03-08 13:58:14 -05:00
203cda840b
Remove pip install chardet from CI now that it's in dev extra
2023-02-15 00:40:49 +01:00
587ee566f6
Harden GitHub CI configuration ( #2655 )
2023-01-02 10:36:20 -05:00
26c7d2dba8
pre-commit: check toml, rst, yml and .in files ( #2636 )
2022-12-09 12:07:07 -05:00
f010d35ad3
Add pre-commit configuration ( #2459 )
2022-12-09 11:26:29 -05:00
cff8215d4f
Move Windows CI from AppVeyor to GitHub Actions ( #2628 )
2022-12-05 13:55:59 -05:00
ba4e71d9ec
Remove setup.py ( #2626 )
...
With pyproject.toml, setup.py becomes unnecessary. Future versions of
setuptools (and Python packaging in general) will deprecate the file.
The command `setup.py check` was replaced by `twine check` which serves
a similar role.
setuptools is still a dependency of the build, just doesn't require
setup.py.
Fixes #2606
2022-11-28 08:52:54 -05:00
a7d80cf9a4
Use black to format Python files
...
Black is a popular Python code formatter. By using it, contributors
don't need to think about the project's styles preferences and avoids
the need for hand-formatting. Instead, let the tool handle it. This can
help smooth the review process.
Updated existing tools to follow the integration docs:
https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html
For more details, see the project:
https://github.com/psf/black
2022-11-11 11:47:22 -08:00
8d0d82bcc0
Add type annotations to the project and use mypy ( #2588 )
...
Provide type annotations and use mypy for static type checking. Type
checkers help ensure that the project is using variables and functions
in the code correctly. With mypy, CI will warn when those types are used
incorrectly.
The mypy project and docs:
https://github.com/python/mypy
https://mypy.readthedocs.io/en/stable/index.html
2022-11-07 11:10:00 -05:00
2042e65274
Add testing and document support for Python 3.11 ( #2585 )
...
* Add testing and document support for Python 3.11
Released Oct. 24, 2022.
https://www.python.org/downloads/release/python-3110/
* Remove Python version classifiers
2022-11-07 11:06:38 -05:00
1bd9175999
Use major version @v1 of isort GitHub Action ( #2581 )
...
Amend 50106dd
The major version tag for this GitHub Action has just been created:
https://github.com/isort/isort-action/issues/61
2022-11-03 18:05:32 -04:00
50106dd578
Add isort to project ( #2564 )
...
isort is a utility to sort Python imports alphabetically, and
automatically separate into sections and by type. This will provide a
consistent import style from contributors. As well, by using a tool, a
contributor doesn't need to think about or anticipate the project's
preferred style, just let the tool handle it.
Run isort GitHub action as part of CI.
2022-11-02 11:42:44 -04:00
4f7231e7d0
Keep GitHub Actions up to date with Dependabot
2022-11-02 11:36:58 +01:00
16aa02312c
More CODEOWNERS ( #2569 )
2022-10-31 07:38:32 -04:00
8609de5050
MAINT: Add CODEOWNERS ( #2535 )
2022-10-24 12:17:41 -04:00
a050986bf8
Fix uncaught exception on unreadable files ( #2196 )
...
* Avoid bailing out with uncaught `PermissionError`
* Update codespell_lib/tests/test_basic.py
* FIX: Coverage
* FIX: Already short-circuited
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2022-10-19 11:44:09 -04:00
055cb2a9bc
FIX: No TestPyPI
2022-10-14 16:42:47 -04:00
aa50a992c5
FIX: Trailing slash
2022-10-14 16:01:41 -04:00
4bb2bcffa0
FIX: Need path
2022-10-14 15:52:43 -04:00
b07b69314d
FIX: Artifact
2022-10-14 15:30:44 -04:00
754b9a52f7
MAINT: Use pyproject and setuptools_scm ( #2523 )
...
* MAINT: Use pyproject and setuptools_scm
* FIX: Name
* FIX: Better
* FIX: Better
* FIX: Better
* FIX: Ver
* Update .github/workflows/codespell-private.yml
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
2022-10-14 14:15:52 -04:00
fd1d5c0d8d
Quote the skip list
...
Otherwise if people copy our example then change the skip list they can make invalid YAML
2022-10-06 15:11:35 +01:00