Skip to content

Commit

Permalink
Apply auto formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Sep 16, 2023
1 parent 6cf1b67 commit bb2d7a4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Expand Up @@ -3,12 +3,12 @@ name: CI
on:
push:
paths-ignore:
- '.gitignore'
- 'README.rst'
- ".gitignore"
- "README.rst"
pull_request:
paths-ignore:
- '.gitignore'
- 'README.rst'
- ".gitignore"
- "README.rst"

jobs:
build-package:
Expand Down Expand Up @@ -44,11 +44,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.10']
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: windows-latest
python-version: '3.11'
python-version: "3.11"
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-unit-test-${{ matrix.os }}-${{ matrix.python-version }}
cancel-in-progress: true
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ["3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-run-coverage-${{ matrix.os }}-${{ matrix.python-version }}
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: "3.11"
cache: pip
cache-dependency-path: |
setup.py
Expand Down
48 changes: 24 additions & 24 deletions pyproject.toml
@@ -1,9 +1,8 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.0"]

[tool.black]
line-length = 100
exclude = '''
/(
\.eggs
Expand All @@ -19,43 +18,44 @@ exclude = '''
)/
| docs/conf.py
'''
line-length = 100
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']

[tool.isort]
include_trailing_comma = true
known_third_party = [
'allpairspy',
'path',
'pytest',
'readmemaker',
'sphinx_rtd_theme',
'allpairspy',
'path',
'pytest',
'readmemaker',
'sphinx_rtd_theme',
]
include_trailing_comma = true
line_length = 100
lines_after_imports = 2
multi_line_output = 3
skip_glob = [
'*/.eggs/*',
'*/.pytype/*',
'*/.tox/*',
'*/.eggs/*',
'*/.pytype/*',
'*/.tox/*',
]

[tool.coverage.run]
source = ['pathvalidate']
branch = true
source = ['pathvalidate']

[tool.coverage.report]
show_missing = true
precision = 1
exclude_lines = [
'except ImportError',
'raise NotImplementedError',
'pass',
'ABCmeta',
'abstractmethod',
'abstractproperty',
'abstractclassmethod',
'warnings.warn',
'except ImportError',
'raise NotImplementedError',
'pass',
'ABCmeta',
'abstractmethod',
'abstractproperty',
'abstractclassmethod',
'warnings.warn',
]
precision = 1
show_missing = true

[tool.mypy]
ignore_missing_imports = true
Expand All @@ -69,11 +69,11 @@ warn_unused_configs = true

[tool.pytest.ini_options]
testpaths = [
"test",
"test",
]

md_report = true
md_report_verbose = 0
md_report_color = "auto"
md_report_verbose = 0

discord_verbose = 1

0 comments on commit bb2d7a4

Please sign in to comment.