Skip to content

Commit b600830

Browse files
[repo-helper] Configuration Update (#15)
* Updated files with 'repo_helper'. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ca2fa35 commit b600830

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ jobs:
2222
steps:
2323
- name: Checkout 🛎️
2424
uses: "actions/checkout@v2"
25+
2526
- name: Setup Python 🐍
2627
uses: "actions/setup-python@v2"
2728
with:
2829
python-version: "${{ matrix.python-version }}"
30+
2931
- name: Install dependencies 🔧
3032
run: |
3133
python -VV
3234
python -m site
3335
python -m pip install --upgrade pip setuptools wheel
3436
python -m pip install --upgrade tox tox-gh-actions virtualenv
3537
36-
3738
- name: "Run Tests for Python ${{ matrix.python-version }}"
3839
run: "python -m tox"

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
steps:
2323
- name: Checkout 🛎️
2424
uses: "actions/checkout@v2"
25+
2526
- name: Setup Python 🐍
2627
uses: "actions/setup-python@v2"
2728
with:
2829
python-version: "${{ matrix.python-version }}"
30+
2931
- name: Install dependencies 🔧
3032
run: |
3133
python -VV

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ jobs:
2222
steps:
2323
- name: Checkout 🛎️
2424
uses: "actions/checkout@v2"
25+
2526
- name: Setup Python 🐍
2627
uses: "actions/setup-python@v2"
2728
with:
2829
python-version: "${{ matrix.python-version }}"
30+
2931
- name: Install dependencies 🔧
3032
run: |
3133
python -VV
3234
python -m site
3335
python -m pip install --upgrade pip setuptools wheel
3436
python -m pip install --upgrade tox tox-gh-actions virtualenv
3537
36-
3738
- name: "Run Tests for Python ${{ matrix.python-version }}"
3839
run: "python -m tox"

repo_helper/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def get_record_entry(path: pathlib.Path, build_dir: pathlib.Path, blocksize: int
517517
wheel_archive.write(file, arcname=file.relative_to(self.build_dir))
518518
self.report_written(file)
519519

520-
emoji = "🎡 " if sys.platform != 'win32' else ''
520+
emoji = "🎡 " if sys.platform != "win32" else ''
521521
click.echo(
522522
Fore.GREEN(f"{emoji}Wheel created at {wheel_filename.resolve()}"),
523523
color=resolve_color_default(),

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ packages = find:
5050

5151
[options.packages.find]
5252
exclude =
53+
doc-source
5354
tests
5455
tests.*
55-
doc-source
5656

5757
[mypy]
5858
python_version = 3.6

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ deps =
8585
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
8686
git+https://github.com/domdfcoding/flake8-quotes.git
8787
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
88-
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
88+
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
89+
git+https://github.com/domdfcoding/flake8-github-actions
8990
pygments>=2.7.1
90-
commands = python3 -m flake8_rst_docstrings_sphinx repo_helper tests --allow-toolbox
91+
commands = python3 -m flake8_rst_docstrings_sphinx repo_helper tests --allow-toolbox {posargs}
9192

9293
[testenv:mypy]
9394
basepython = python3.7

0 commit comments

Comments
 (0)