Skip to content

Commit c25244d

Browse files
committed
Fix linting
1 parent 345325b commit c25244d

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- '*.*'
6+
- "*.*"
77

88
jobs:
99
release:
@@ -14,8 +14,8 @@ jobs:
1414
- name: Setup Python 3.10
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: '3.10'
18-
architecture: 'x64'
17+
python-version: "3.10"
18+
architecture: "x64"
1919

2020
- name: Install flit
2121
run: pip install flit

.github/workflows/test.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ jobs:
1111
python-version: ["3.10"]
1212

1313
steps:
14-
- uses: actions/checkout@v2
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v2
17-
with:
18-
python-version: ${{ matrix.python-version }}
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
1919

20-
- uses: actions/cache@v2
21-
with:
22-
path: ~/.cache/pip
23-
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
24-
restore-keys: |
25-
${{ runner.os }}-pip-
20+
- uses: actions/cache@v2
21+
with:
22+
path: ~/.cache/pip
23+
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
24+
restore-keys: |
25+
${{ runner.os }}-pip-
2626
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install ".[test]"
31-
pip install ".[lint]"
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install ".[test]"
31+
pip install ".[lint]"
3232
33-
- name: Lint
34-
run: pre-commit run --all-files --show-diff-on-failure --color always
33+
- name: Lint
34+
run: pre-commit run --all-files --show-diff-on-failure --color always
3535

36-
- name: Test
37-
run: |
38-
PYTHONPATH=. pytest
36+
- name: Test
37+
run: |
38+
PYTHONPATH=. pytest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ the imports. However, if used with the above pattern, this results in code
7979
duplication, as you now need to declare your submodules and attributes in two places.
8080

8181
You can infer the `submodules` and `submod_attrs` arguments (explicitly provided
82-
above to `lazy.attach`) from a stub adjacent to the `.py` file by using the
82+
above to `lazy.attach`) from a stub adjacent to the `.py` file by using the
8383
`lazy.attach_stub` function.
8484

8585
Carrying on with the example above:
@@ -110,7 +110,7 @@ to include `*.pyi` files.
110110
### Early failure
111111

112112
With lazy loading, missing imports no longer fail upon loading the
113-
library. During development and testing, you can set the `EAGER_IMPORT`
113+
library. During development and testing, you can set the `EAGER_IMPORT`
114114
environment variable to disable lazy loading.
115115

116116
### External libraries

0 commit comments

Comments
 (0)