Skip to content

Commit

Permalink
Merge 318e12c into 7cac539
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 30, 2023
2 parents 7cac539 + 318e12c commit d3ad460
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ jobs:
container: "silkeh/clang:${{ matrix.clang }}"

steps:
- name: Install Git
if: matrix.clang == 10
run: |
apt-get update && apt-get install -y git --no-install-recommends
# Work-around for https://github.com/actions/runner-images/issues/6775
- name: Change Owner of Container Working Directory
run: chown root:root .

- uses: actions/checkout@v3

- name: Get history and tags for SCM versioning to work
Expand Down
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -40,19 +40,19 @@ repos:

# Changes tabs to spaces
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
rev: v1.4.2
hooks:
- id: remove-tabs

- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
rev: 6.3.0
hooks:
- id: pydocstyle
exclude: (_test.*\.py)$
additional_dependencies: [toml]

- repo: https://github.com/PyCQA/doc8/
rev: v1.0.0
rev: v1.1.1
hooks:
- id: doc8
require_serial: false
Expand All @@ -67,31 +67,31 @@ repos:
args: [-S, '.git,third_party', -I, .codespell.allow]

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
rev: v1.29.0
hooks:
- id: yamllint
require_serial: false

- repo: https://github.com/asottile/pyupgrade
rev: v3.2.0
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus, --keep-mock]

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: isort (python)

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/asottile/blacken-docs
rev: v1.12.1
rev: 1.13.0
hooks:
- id: blacken-docs
args: [-S, -l, '120']
Expand All @@ -116,11 +116,11 @@ repos:
rev: 'v3.0.0a5'
hooks:
- id: pylint
args: ['--score=n']
args: ['--score=n', '--disable=no-member']
additional_dependencies: [pybind11>=2.6, numpy, requests, matplotlib, networkx]

- repo: https://github.com/mgedmin/check-manifest
rev: '0.48'
rev: '0.49'
hooks:
- id: check-manifest
additional_dependencies: ['setuptools-scm', 'pybind11>=2.6']
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Repository

- Update GitHub workflow action versions: `actions/cache@v3`, `actions/checkout@v3`, `actions/setup-python@v4`
- Fix failing GitHub workflows (Clang-10)
- Introduce pre-commit CI
- Update to clang-tidy 14 in GitHub workflow
- Added new pre-commit hooks: `codespell`, `doc8`, `pydocstyle` and `yamllint`
- Update pre-commit hook versions
- Keep `flake8` hook to version 5.0.4 until plugin support Flake8 6.X
- Disable `no-member` warning for Pylint on pre-commit CI

## [v0.8.0] - 2022-10-18

Expand Down

0 comments on commit d3ad460

Please sign in to comment.