Skip to content

Commit

Permalink
Merge pull request #1 from syslabcom/fix-toml
Browse files Browse the repository at this point in the history
Fix toml syntax
  • Loading branch information
ale-rt authored Jul 26, 2023
2 parents 56be524 + 3cfd12d commit 0814068
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Pre commit hooks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Pre-commit
uses: pre-commit/[email protected]
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-toml
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tool.isort]
# for details see
# http://docs.plone.org/develop/styleguide/python.html#grouping-and-sorting
force_alphabetical_sort = True
force_single_line = True
force_alphabetical_sort = true
force_single_line = true
known_future_library = "future,pies"
lines_after_imports = 2
line_length = 88
not_skip = __init__.py

not_skip = "__init__.py"

0 comments on commit 0814068

Please sign in to comment.