Skip to content

[pull] develop from cpplint:develop #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 184 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
778812d
Fixed search for repository root directory
Feb 4, 2019
2e723e9
initial commit
geoffviola Mar 1, 2019
8638b26
Project import generated by Copybara.
a-googler Oct 13, 2022
fbce7fd
Fix PRINT-UNPRINTABLE-OBJECT
phoe Oct 27, 2022
0b003a9
Merge pull request #719 from phoe-trash/gh-pages
sfreilich Oct 27, 2022
fd8c548
update ts styleguide with latest google version
Cabbageboy Nov 9, 2022
f3c2c7f
Merge pull request #727 from Cabbageboy/gh-pages
sfreilich Nov 14, 2022
e8424d7
Add Google Go Style Guide.
gaal Nov 17, 2022
d976b65
Merge pull request #729 from gaal/go
tituswinters Nov 17, 2022
15c7fa0
Fix a logic error in an example.
gaal Nov 17, 2022
2d5b76e
Merge pull request #730 from gaal/go
gaal Nov 17, 2022
317af04
Add Go CODEOWNERS.
gaal Nov 17, 2022
7869982
Trivial typofix
ujihisa Nov 18, 2022
8828cd1
Link to the Go style guide from README.md.
gaal Nov 17, 2022
9d68006
Internal Change.
gaal Nov 18, 2022
228e403
Internal Change.
gaal Nov 21, 2022
307bda3
Merge pull request #731 from gaal/go
gaal Nov 22, 2022
54aad34
Merge branch 'gh-pages' into patch-1
ujihisa Nov 25, 2022
ec302b3
Project import generated by Copybara.
a-googler Dec 8, 2022
9ae38d4
Internal Change.
Carrotman42 Dec 27, 2022
b5c20ce
Vimscript -> Vim script : Merge pull request #734 from ujihisa/patch-1
gpshead Dec 29, 2022
74605a6
Merge pull request #747 from Carrotman42/export_tmp
matttproud Jan 3, 2023
2cb090b
NOBUG: update test dependencies to fix new build issues, github actio…
tkruse Jan 29, 2023
b34b3b3
fix: add explicit module names
algonell Feb 2, 2023
f924e89
Add explicit module names to pylintrc to support pylint >= 3.0
gpshead Feb 2, 2023
a321732
Adds C++20 headers so they aren't flagged as c-style headers
michael-projectx Dec 28, 2022
959915f
#209 Fix header order confusing warning due to ambiguous "complex.h"
tkruse Jan 30, 2023
34863c9
Merge remote-tracking branch 'google/gh-pages' into develop
tkruse Feb 13, 2023
5d766dc
NOBUG: Use safer pull_request github trigger
tkruse Feb 13, 2023
75ed229
Add support for multiple categories
n3world Feb 2, 2023
7b88b68
lint: Remove unnecessary parens
n3world Feb 3, 2023
3847a79
Merge pull request #78 from groegeorg/master
aaronliu0130 Jan 27, 2024
4557b16
Drop deprecated sre_compile usage (#214)
jspricke Jan 27, 2024
cd44477
hopefully fix ci by bumping versions
aaronliu0130 Jan 27, 2024
535a225
dummy edit to trigger workflows
aaronliu0130 Jan 27, 2024
707f411
downgrade setuptools for now
aaronliu0130 Jan 27, 2024
c827875
disable auto-cancel
aaronliu0130 Jan 27, 2024
f68ba4c
remove extraneous parens, continue failing fast and remove 3.12 which…
aaronliu0130 Jan 27, 2024
3a1a986
fix CI and only target 3.9 and pypy3.10
aaronliu0130 Jan 27, 2024
a80d21c
Add new headers from C++23 and C23 (#239)
aaronliu0130 Jan 27, 2024
8f62396
Modernize and bump version
aaronliu0130 Jan 27, 2024
f3b59bc
hopefully make clitest windows-compatible
aaronliu0130 Jan 28, 2024
fd257bd
fix f-string spaces
aaronliu0130 Jan 28, 2024
394c4d5
fix "blank line contains whitespace" in test lol
aaronliu0130 Jan 28, 2024
d67ae99
confusion
aaronliu0130 Jan 29, 2024
a1d892a
Fixed false positive when -readability/alt_tokens is used (#73)
Jan 27, 2024
4503fed
Fixed search for repository root directory (#78)
groegeorg Feb 4, 2019
3142f33
Refactor deprecated unittest aliases (#182)
tirkarthi Jan 27, 2024
b5ddf55
Merge branch 'develop' into printing
aaronliu0130 Jan 29, 2024
30e502e
update samples to match PR
aaronliu0130 Jan 29, 2024
e3482c5
remove transitive include exemption from IWYU
aaronliu0130 Feb 1, 2024
e93e8fc
Add IWYU support for more stuff (#94 from geoffviola/printing)
aaronliu0130 Feb 1, 2024
d4a1b77
Merge branch 'master' into mastery
aaronliu0130 Feb 1, 2024
ff5b032
Sync with dev branch
aaronliu0130 Feb 2, 2024
141ebb7
Fix recursive exclude Issue #114 (#115)
GrueMaster Feb 2, 2024
438382a
Fix recursive exclude Issue #114 (#115)
GrueMaster Feb 2, 2024
2e7c390
Revert "Fix recursive exclude Issue #114 (#115)"
aaronliu0130 Feb 2, 2024
2a7f768
Revert "Fix recursive exclude Issue #114" (#242)
aaronliu0130 Feb 2, 2024
9470db7
update language list
aaronliu0130 Feb 2, 2024
990f28f
add back 3.11 target
aaronliu0130 Feb 2, 2024
aa8b746
Add support for Python 3.12 (#243)
jayvdb Feb 3, 2024
fbe5715
Merge from develop branch
aaronliu0130 Feb 3, 2024
600a9f3
Support Python 3.7 (#244)
jayvdb Feb 4, 2024
9758a41
clarify CONTRIBUTING
aaronliu0130 Feb 4, 2024
ab0a568
update setup.py classifiers
aaronliu0130 Feb 4, 2024
2d00dcc
merge
aaronliu0130 Feb 4, 2024
b9ff3c3
add back 3.7
aaronliu0130 Feb 4, 2024
2bd1536
CI: trim python versions
aaronliu0130 Feb 4, 2024
c74831f
Fix typos (#245)
jayvdb Feb 4, 2024
8eeaf23
Avoid false positive on other clang-tidy checks (#231)
xatier Feb 4, 2024
be2a415
trim envlist
aaronliu0130 Feb 4, 2024
c6382d8
CI: Don't run on commits that only change documentation [skip ci]
aaronliu0130 Feb 4, 2024
df28c2d
preliminary changelog
aaronliu0130 Feb 4, 2024
44d614e
Allow setting config file name via CLI (#198)
gedankenexperimenter Feb 4, 2024
cae1e5f
Additional CLI syntax for file- and line-specific filters (#171)
PhilLab Feb 4, 2024
f870a11
add latest PRs to the changelog
aaronliu0130 Feb 4, 2024
acc2d97
modernize testing a bit
aaronliu0130 Feb 4, 2024
1ccd44d
Format RSTs and modify README Acknowledgements
aaronliu0130 Feb 4, 2024
90abb32
add back paragraph break
aaronliu0130 Feb 4, 2024
26dacc6
Re-add tox environments (#248)
jayvdb Feb 4, 2024
f7476e2
clarify comment [skip CI]
aaronliu0130 Feb 4, 2024
609eded
Search all headers extensions for first include (#104)
crogre Feb 4, 2024
39c6e48
Add test for #104
aaronliu0130 Feb 5, 2024
53d787d
Update changelog.rst
aaronliu0130 Feb 5, 2024
3ba2c8e
simplify version [skip CI]
aaronliu0130 Feb 5, 2024
673cb8b
Whitespace: Recognize __VA_OPT__(,) as a function(#237)
elrinor Feb 6, 2024
ace6d6d
Update changelog.rst
aaronliu0130 Feb 6, 2024
7c64b90
fix indentation
aaronliu0130 Feb 6, 2024
751798f
refactor FlagCxx11Features into FlagCxxHeaders
aaronliu0130 Feb 17, 2024
cf82efe
Drop Google repo–priority in CONTRIBUTING (#246)
aaronliu0130 Feb 17, 2024
d0bad73
Add c++ unblocking changes to changelog
aaronliu0130 Feb 17, 2024
e98a20c
[ci] Automatically cancel previous runs on the same branch (#252)
aaronliu0130 Feb 19, 2024
6f9c205
Fix Windows tests and add Windows CI (#247)
jayvdb Feb 23, 2024
98557b6
Use timeout instead of verbose pytest output (#256)
aaronliu0130 Feb 25, 2024
d3fce4f
Fix Windows tests (#258)
jayvdb Feb 25, 2024
cb28426
Fix sed support on Windows clitest (#257)
aaronliu0130 Feb 25, 2024
eaefd28
(unittest) Remove no-op artifacts from Py2 deprecation
aaronliu0130 Feb 29, 2024
32126fc
(unittest) Remove no-op artifacts from Py2 deprecation (#262)
aaronliu0130 Feb 29, 2024
fb2dbef
Don't run ci on push if not on main branches (#259)
aaronliu0130 Feb 29, 2024
f97fc05
Update chromium sample and clarify sample READMEs (#255)
aaronliu0130 Feb 29, 2024
9a30497
Don't run workflow on PRs that only change docs (#264)
aaronliu0130 Mar 12, 2024
0cb0933
Clarify installation (#263)
aaronliu0130 Mar 12, 2024
3791cc4
Avoid IWYU False Positives on external libraries (#266)
geoffviola Mar 20, 2024
e3a1938
Add support for NOLINTBEGIN/END (#213)
n3world Apr 7, 2024
ab7497b
Don't complain about `explicit` no-arg constructors. (#227)
markww Apr 23, 2024
762b1e6
Err on functions indented inside namespaces (#235)
Yujinmon Apr 23, 2024
60429b0
Fix protobuf clitest (#270)
norab0130 May 13, 2024
22c0fe2
Add a pyproject.toml file (#269)
vyasr May 13, 2024
8d8e5fc
Remove IWYU False Positives From Other Namespaces (#273)
geoffviola May 22, 2024
80e97a6
Update documentation about PRs (& upd changelog) (#274)
norab0130 May 23, 2024
337b888
Add support for [[likely]] and drop support for Python 3.8 (#277)
norab0130 Jul 1, 2024
9be08b5
Remove Class And Namespace Complete Checks (#272)
geoffviola Jul 1, 2024
e133524
Rename changelog.rst to CHANGELOG.rst (#278)
ember91 Aug 2, 2024
ab7335b
Fix typos and trailing whitespace (#280)
ember91 Aug 3, 2024
3d9c9d0
fix tox.ini after #277 (#279)
tkruse Aug 15, 2024
b2d18ad
Use standard fixed-width typenames for cast checks (#282)
nate-thirdwave Aug 24, 2024
a3afd5c
Update silly-sample + gitignore vscode (#253) (#285)
norab0130 Aug 31, 2024
820df48
Remove readability/fn_size error throw (#287)
aduh95 Sep 7, 2024
b29d3ee
Fix false positive on concept declaration (#288)
armandas Sep 17, 2024
5b2d885
Disable "too-many-positional-arguments"
aaronliu0130 Oct 3, 2024
07f8730
Cache cppvar to improve performance
aaronliu0130 Oct 3, 2024
3af1d2e
Fix reading from stdin
aaronliu0130 Oct 3, 2024
bb925ad
Add piping and cached cppvar to changelog
aaronliu0130 Oct 3, 2024
f4363d7
Releasing 2.0.0 (#292)
jayvdb Oct 6, 2024
14445f3
Fix missing comma between items in _CPP_HEADERS
Hs293Go Dec 2, 2024
fd77bc0
Fix false positive for indented parameters in namespaces
aaronliu0130 Jan 29, 2025
3af0cd8
Fix typos discovered by codespell
cclauss Mar 3, 2025
80da3c1
IWYU: treat stdio.h the same way as cstdio (#319)
aaronliu0130 Mar 4, 2025
cba132c
Add pre-commit
cclauss Mar 4, 2025
fe8ce9a
GitHub Actions: pipx run pre-commit run --all-files (#324)
cclauss Mar 6, 2025
181d47f
README.rst: Add instructions for pre-commit (#320)
cclauss Mar 6, 2025
755497f
PEP 621: Migrate from setup.{py, cfg} to pyproject.toml (#315)
cclauss Mar 7, 2025
e4b43ac
README.rst: Use pipx to install cpplint from PyPI (#325)
cclauss Mar 7, 2025
ff42b70
Move flake8 from tox to pre-commit (#326)
cclauss Mar 8, 2025
3a1a39c
Add ruff to pre-commit (#327)
cclauss Mar 8, 2025
0757ecf
prepare for release 2.0.1 and update changelog
aaronliu0130 Mar 7, 2025
4d73116
bump release date
aaronliu0130 Mar 9, 2025
07aba9e
Python versions less than 3.8 are no longer supported.
cclauss Mar 9, 2025
03d56ce
Add more ruff lint rules (#328)
cclauss Mar 11, 2025
cd26ae8
Ruff rules for comprehensions and performance
cclauss Mar 7, 2025
776a72b
chore: add ruff stuff to changelog
aaronliu0130 Mar 11, 2025
66c4c80
Ruff rules PL for Pylint (#330)
cclauss Mar 11, 2025
4134927
update fields of pyproject.toml
aaronliu0130 Mar 7, 2025
e22cb36
update CONTRIBUTING.rst
aaronliu0130 Mar 8, 2025
92244cb
lint CLI tests
aaronliu0130 Feb 1, 2025
b976b14
fix: revert Win32 slash replacement changes, use subprocess.run()
aaronliu0130 Mar 3, 2025
c0af6db
remove Python 2 keyword artifacts from pylint class-rgx
cclauss Mar 8, 2025
94f5e44
Add ruff format to pre-commit
cclauss Mar 9, 2025
ac52a79
Non-Python files
cclauss Mar 12, 2025
26a8d68
ruff rules UP for pyupgrade
cclauss Mar 12, 2025
3fbade3
pre-commit autoupdate 2025-03-14 (#338)
cclauss Mar 14, 2025
af30092
Ruff rules SIM for simplification (#337)
cclauss Mar 15, 2025
1ec3b85
Ruff rules SIM for simplification (#337)
cclauss Mar 15, 2025
d0bbd53
fix unittests category verification for PT and deduplicate setup/tear…
aaronliu0130 Mar 16, 2025
0391a42
add missing build/deprecated test and remove unused readability/strin…
aaronliu0130 Mar 16, 2025
091845c
ruff rule N805: First argument of a method should be named `self` (#339)
cclauss Mar 16, 2025
f44f079
misc git cleanup (#340)
aaronliu0130 Mar 16, 2025
0f95a9a
cpplint_clitest.py: Function names should be lowercase (#342)
cclauss Mar 18, 2025
d0456bd
Mypy: static type checker for Python (#345)
cclauss Mar 18, 2025
d273061
CONTRIBUTING.rst: Default branch is develop, add pre-commit (#349)
cclauss Mar 21, 2025
2a017e0
cpplint_clitest.py: Remove unnecessary class (#352)
cclauss Mar 23, 2025
9107df4
Fix test refactoring (#350)
aaronliu0130 Mar 23, 2025
75d2d99
suppress C++-only categories on C file extensions (#318)
aaronliu0130 Mar 25, 2025
1ab3d2f
All TODOs should have a username
cclauss Mar 30, 2025
47f6675
actually add usernames to todos
aaronliu0130 Mar 31, 2025
b66973c
Drop flake8 in favor of ruff (#356)
cclauss Apr 1, 2025
d520020
pre-commit: Add pre-commit-hooks and auto-walrus (#351)
cclauss Apr 2, 2025
e9e17f0
Add a GitHub Action to publish to PyPI (#347)
cclauss Apr 2, 2025
b8d33cf
chore: bump 2.0.1 release date again (#335)
aaronliu0130 Apr 2, 2025
99f2940
GitHub Actions: on workflow_dispatch
cclauss Apr 6, 2025
777a8a7
Drop Python 3.8 | bump version (#334)
aaronliu0130 Apr 7, 2025
bbba111
Some test refactoring (#357)
aaronliu0130 Apr 7, 2025
97ab22d
Don't err on non-const references by default (#305)
aaronliu0130 Apr 7, 2025
74ba7c4
[pre-commit.ci] pre-commit autoupdate (#366)
pre-commit-ci[bot] Apr 7, 2025
55670e8
Actions: No need to run pre-commit twice (#363)
cclauss Apr 7, 2025
994273f
GitHub Actions: Remove filters to ensure tests are always run (#364)
cclauss Apr 7, 2025
569ab62
chore: refactor part of NestingState.Update()
aaronliu0130 Mar 23, 2025
48e8d85
fix(indentation_namespace): false positive for MemInitLists
aaronliu0130 Mar 23, 2025
a74fa9b
refactor 2.0.1 block of changelog (#370)
aaronliu0130 Apr 8, 2025
350702a
chore: Prepare for release v2.0.2 (#369)
cclauss Apr 8, 2025
2d2e1c9
[pre-commit.ci] pre-commit autoupdate (#374)
pre-commit-ci[bot] Apr 15, 2025
54f085a
chore: bump dev version (#378)
aaronliu0130 Apr 18, 2025
b32e1f3
[pre-commit.ci] pre-commit autoupdate (#379)
pre-commit-ci[bot] Apr 21, 2025
b6ada00
change shebang to python3 (#383)
vapier May 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .flake8

This file was deleted.

3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .git-blame-ignore-revs
# Reformatted repo with ruff
94f5e443bfa80e576ded32585f0058d09a6a7fbc
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Keep GitHub Actions up to date with GitHub's Dependabot...
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
version: 2
updates:
- package-ecosystem: github-actions
directory: /
groups:
github-actions:
patterns:
- "*" # Group all Actions updates into a single larger pull request
schedule:
interval: weekly
33 changes: 19 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
name: Test

on: [push, pull_request_target]

on:
pull_request:
push:
branches: [master, develop]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7']

# Also adapt tox.ini on change
python-version: ['3.9', 'pypy3.11', '3.x']
# macOS on ARM, Ubuntu on x86, Windows on X86
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: '**/dev-requirements'
cache-dependency-path: 'pyproject.toml'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
python -m pip install -e .[dev]
python -m pip install tox tox-gh-actions
pip install --editable ".[dev]"
- name: Test with tox
run: tox
run: tox -e py
120 changes: 120 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on: push

jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/cpplint
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: >-
Sign the Python 🐍 distribution 📦 with Sigstore
and upload them to GitHub Release
needs:
- publish-to-pypi
runs-on: ubuntu-latest

permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
id-token: write # IMPORTANT: mandatory for sigstore

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create
"$GITHUB_REF_NAME"
--repo "$GITHUB_REPOSITORY"
--notes ""
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
# Upload to GitHub Release using the `gh` CLI.
# `dist/` contains the built packages, and the
# sigstore-produced signatures and certificates.
run: >-
gh release upload
"$GITHUB_REF_NAME" dist/**
--repo "$GITHUB_REPOSITORY"

publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/cpplint

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
# TODO(cclauss): Uncomment this job step when we have admin access to test.pypi.org
# - name: Publish distribution 📦 to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ target/
profile_default/
ipython_config.py

# VSCode
.vscode/

# JetBrains PyCharm
.idea/

# pyenv
.python-version

Expand Down
70 changes: 70 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Learn more about this config here: https://pre-commit.com/

# To enable these pre-commit hooks run:
# `pipx install pre-commit` or `brew install pre-commit`
# Then in the project root directory run `pre-commit install`

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
- id: detect-private-key
# - id: end-of-file-fixer # TODO(cclauss): Causes some tests to fail.
- id: file-contents-sorter
- id: fix-byte-order-marker
- id: forbid-new-submodules
- id: forbid-submodules
# - id: mixed-line-ending # TODO(cclauss): Causes some tests to fail.
# args:
# - --fix=lf
- id: name-tests-test
- id: pretty-format-json
- id: requirements-txt-fixer
- id: sort-simple-yaml
# - id: trailing-whitespace # TODO(cclauss): Causes some tests to fail.

- repo: https://github.com/MarcoGorelli/auto-walrus
rev: 0.3.4
hooks:
- id: auto-walrus

- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args:
- --ignore-words-list=alse,ons
additional_dependencies:
- tomli

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.6
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.5.1
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
hooks:
- id: validate-pyproject
48 changes: 0 additions & 48 deletions .pylintrc

This file was deleted.

Loading
Loading