Skip to content

Commit

Permalink
.pre-commit-config.yaml - autoupgrade + a couple codespell fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Winter committed Jul 2, 2024
1 parent ec17ada commit f931a44
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ci:
exclude: ^(cmake/ECM/|cmake/KDAB/|docs/api/doxygen-awesome.css)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -19,21 +19,21 @@ repos:
- id: destroyed-symlinks
- id: check-executables-have-shebangs
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.2
rev: v18.1.8
hooks:
- id: clang-format
- repo: https://github.com/PyCQA/pylint
rev: v3.1.0
rev: v3.2.4
hooks:
- id: pylint
exclude: ^(.cmake-format.py|conan/conanfile.py|scripts/genignore.py)
- repo: https://github.com/hhatto/autopep8
rev: v2.1.0
rev: v2.3.1
hooks:
- id: autopep8
exclude: ^(.cmake-format.py|conan/conanfile.py)
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
- repo: https://github.com/cheshirekow/cmake-format-precommit
Expand All @@ -51,6 +51,6 @@ repos:
language: ruby
files: \.(md|mdown|markdown)$
- repo: https://github.com/fsfe/reuse-tool
rev: v3.0.1
rev: v3.1.0a1
hooks:
- id: reuse
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void PercentLineDiagram::paintWithLines(PaintContext *ctx)
const int columnCount = compressor().modelDataColumns();
const int rowCount = compressor().modelDataRows();

// FIXME integrade column index retrieval to compressor:
// FIXME integrate column index retrieval to compressor:
int maxFound = 0;
// { // find the last column number that is not hidden
// for ( int iColumn = datasetDimension() - 1;
Expand Down Expand Up @@ -229,7 +229,7 @@ void PercentLineDiagram::paintWithSplines(PaintContext *ctx, qreal tension)
const auto mainSplineDirection = plane->isHorizontalRangeReversed() ? ReverseSplineDirection : NormalSplineDirection;
const auto reverseSplineDirection = plane->isHorizontalRangeReversed() ? NormalSplineDirection : ReverseSplineDirection;

// FIXME integrade column index retrieval to compressor:
// FIXME integrate column index retrieval to compressor:
int maxFound = 0;
// { // find the last column number that is not hidden
// for ( int iColumn = datasetDimension() - 1;
Expand Down
2 changes: 1 addition & 1 deletion src/KDChart/Ternary/KDChartTernaryGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class TernaryGrid : public AbstractGrid
/** Returns two QSizeF objects specifying the dimension of the
margins needed between each corner of the diagram and the
border of the drawing area. Margins are required because
the tick marks are placed outside of the trianges
the tick marks are placed outside of the triangles
containing rectangle.
The margins are returned in <em>diagram coordinates</em>,
since the grid does not know about widget coordinates.
Expand Down

0 comments on commit f931a44

Please sign in to comment.