Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.1'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'

strategy:
fail-fast: False
Expand All @@ -31,7 +31,7 @@ jobs:
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev-click{7,8},build", experimental: True}
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.1'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'

strategy:
fail-fast: False
Expand All @@ -32,7 +32,7 @@ jobs:
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev-click{7,8},build", experimental: True}
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.1'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'

strategy:
fail-fast: False
Expand All @@ -31,7 +31,7 @@ jobs:
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev-click{7,8},build", experimental: True}
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
9 changes: 7 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ repos:
- id: flake2lint

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.8.0
rev: v1.9.0
hooks:
- id: python-no-eval
- id: rst-backticks
Expand All @@ -72,7 +72,12 @@ repos:
- id: remove-crlf
- id: forbid-crlf

- repo: https://github.com/repo-helper/formate
- repo: https://github.com/python-formate/snippet-fmt
rev: v0.1.0
hooks:
- id: snippet-fmt

- repo: https://github.com/python-formate/formate
rev: v0.4.9
hooks:
- id: formate
Expand Down
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,31 @@ namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
no_implicit_optional = true
show_error_codes = true

[tool.snippet-fmt]
directives = [ "code-block",]

[tool.dependency-dash."requirements.txt"]
order = 10

[tool.dependency-dash."tests/requirements.txt"]
order = 20
include = false

[tool.dependency-dash."doc-source/requirements.txt"]
order = 30
include = false

[tool.snippet-fmt.languages.toml]
reformat = true

[tool.snippet-fmt.languages.python]
reformat = true

[tool.snippet-fmt.languages.TOML]
reformat = true

[tool.snippet-fmt.languages.ini]

[tool.snippet-fmt.languages.json]