File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This file is managed by 'repo_helper'. Don't edit it directly.
22---
3+ version : 1
34update_configs :
4- - default_reviewers :
5- - domdfcoding
5+ - package_manager : python
66 directory : /
7- package_manager : python
87 update_schedule : weekly
9- version : 1
8+ default_reviewers :
9+ - domdfcoding
Original file line number Diff line number Diff line change 11# This file is managed by 'repo_helper'. Don't edit it directly.
22---
3-
43addReviewers : true
54addAssignees : true
6-
7- # A list of reviewers to be added to pull requests (GitHub user name)
85reviewers :
9- - domdfcoding
10-
11- # A number of reviewers added to the pull request
12- # Set 0 to add all the reviewers
6+ - domdfcoding
137numberOfReviewers : 0
148
15- # A list of assignees, overrides reviewers if set
16- # assignees:
17- # - assigneeA
18-
19- # A number of assignees to add to the pull request
20- # Set to 0 to add all of the assignees.
21- # Uses numberOfReviewers if unset.
22- # numberOfAssignees: 2
23-
249# more settings at https://github.com/marketplace/actions/auto-assign-action
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ default_section = THIRDPARTY
1616known_third_party =
1717 asttokens
1818 coverage
19- coverage_pyver_pragma
20- domdf_python_tools
19+ coverage-pyver-pragma
20+ domdf-python-tools
2121 flake8
2222 github
2323 pytest
24- pytest_cov
25- pytest_randomly
26- pytest_rerunfailures
27- pytest_timeout
24+ pytest-cov
25+ pytest-randomly
26+ pytest-rerunfailures
27+ pytest-timeout
2828 requests
2929known_first_party = flake8_dunder_all
3030remove_redundant_aliases = True
Original file line number Diff line number Diff line change 11# This file is managed by 'repo_helper'. Don't edit it directly.
22---
33
4+ exclude : ^$
5+
46repos :
57 - repo : https://github.com/pre-commit/pre-commit-hooks
6- rev : v2.4 .0
8+ rev : v3.3 .0
79 hooks :
810 - id : check-added-large-files
911 - id : check-ast
1012 - id : check-byte-order-marker
1113 - id : check-case-conflict
1214 - id : check-executables-have-shebangs
1315 - id : check-json
16+ - id : check-toml
17+ - id : check-yaml
1418 - id : check-merge-conflict
1519 - id : check-symlinks
16- - id : check-toml
1720 - id : check-vcs-permalinks
18- - id : check-yaml
1921 - id : detect-private-key
2022 - id : end-of-file-fixer
2123 - id : trailing-whitespace
@@ -25,13 +27,14 @@ repos:
2527 rev : v0.0.4
2628 hooks :
2729 - id : requirements-txt-sorter
28- args : [--allow-git]
30+ args :
31+ - --allow-git
2932 - id : check-docstring-first
3033 exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup|tests/.*)\.py$
3134 - id : bind-requirements
3235
3336 - repo : https://github.com/domdfcoding/flake8-dunder-all
34- rev : v0.0.4
37+ rev : v0.1.0
3538 hooks :
3639 - id : ensure-dunder-all
3740 files : ^flake8_dunder_all/.*\.py$
@@ -42,20 +45,20 @@ repos:
4245 - id : python-no-eval
4346
4447 - repo : https://github.com/asottile/pyupgrade
45- rev : v1.5.1
48+ rev : v2.7.3
4649 hooks :
4750 - id : pyupgrade
48- args : [--py36-plus]
51+ args :
52+ - --py36-plus
4953
5054 - repo : https://github.com/Lucas-C/pre-commit-hooks
51- rev : v1.1.7
55+ rev : v1.1.9
5256 hooks :
5357 - id : remove-crlf
5458 - id : forbid-crlf
5559
56-
5760 - repo : https://github.com/domdfcoding/yapf-isort
58- rev : v0.3.2
61+ rev : v0.4.4
5962 hooks :
6063 - id : yapf-isort
6164 exclude : ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
Original file line number Diff line number Diff line change 11# This file is managed by 'repo_helper'. Don't edit it directly.
22# Read the Docs configuration file
33---
4-
5- # Required
64version : 2
7-
85sphinx :
96 builder : html
107 configuration : doc-source/conf.py
11-
12- # Optionally build your docs in additional formats such as PDF and ePub
138formats : all
14-
159python :
1610 version : 3.8
1711 install :
18- - requirements : requirements.txt
19- - requirements : doc-source/requirements.txt
12+ - requirements : requirements.txt
13+ - requirements : doc-source/requirements.txt
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ stages:
3131 - deploy_pypi
3232 - deploy_conda
3333
34-
3534jobs :
3635 allow_failures :
3736 - arch : arm64
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ flake8-dunder-all
1818 * - Docs
1919 - |docs | |docs_check |
2020 * - Tests
21- - |travis | |actions_windows | |actions_macos | |coveralls | |codefactor |
21+ - |travis | |actions_windows | |actions_macos | |coveralls | |codefactor | | pre_commit_ci |
2222 * - PyPI
2323 - |pypi-version | |supported-versions | |supported-implementations | |wheel |
2424 * - Anaconda
@@ -106,6 +106,10 @@ flake8-dunder-all
106106 :target: https://github.com/pre-commit/pre-commit
107107 :alt: pre-commit
108108
109+ .. |pre_commit_ci | image :: https://results.pre-commit.ci/badge/github/domdfcoding/flake8-dunder-all/master.svg
110+ :target: https://results.pre-commit.ci/latest/github/domdfcoding/flake8-dunder-all/master
111+ :alt: pre-commit.ci status
112+
109113.. end shields
110114
111115|
Original file line number Diff line number Diff line change 1717__all__ = [
1818 "__copyright__" ,
1919 "__version__" ,
20- "modname" ,
21- "pypi_name" ,
22- "__license__" ,
23- "__author__" ,
24- "short_desc" ,
25- "author" ,
26- "author_email" ,
27- "github_username" ,
28- "web" ,
29- "github_url" ,
3020 "repo_root" ,
3121 "install_requires" ,
3222 "extras_require" ,
33- "project_urls" ,
34-
35- "import_name" ,
3623 ]
3724
3825__copyright__ = """
39262020 Dominic Davis-Foster <dominic@davis-foster.co.uk>
4027"""
4128
4229__version__ = "0.1.0"
43- modname = "flake8-dunder-all"
44- pypi_name = "flake8-dunder-all"
45- import_name = "flake8_dunder_all"
46- __license__ = "MIT License"
47- short_desc = "A Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'."
48- __author__ = author = 'Dominic Davis-Foster'
49- author_email = 'dominic@davis-foster.co.uk'
50- github_username = "domdfcoding"
51- web = github_url = "https://github.com/domdfcoding/flake8-dunder-all"
30+
5231repo_root = pathlib .Path (__file__ ).parent
5332install_requires = (repo_root / "requirements.txt" ).read_text (encoding = "utf-8" ).split ('\n ' )
5433extras_require = {'all' : []}
55-
56-
57-
58- conda_description = """A Flake8 plugin and pre-commit hook which checks to ensure modules have defined '__all__'.
59-
60-
61- Before installing please ensure you have added the following channels: domdfcoding, conda-forge"""
62- __all__ .append ("conda_description" )
63-
64-
65- project_urls = {
66- "Documentation" : "https://flake8-dunder-all.readthedocs.io" ,
67- "Issue Tracker" : f"{ github_url } /issues" ,
68- "Source Code" : github_url ,
69- }
Original file line number Diff line number Diff line change 103103 "protocol" ,
104104 "typeddict" ,
105105 "namedtuple" ,
106+ "exception" ,
106107 }
107108
108109add_module_names = False
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ flake8-dunder-all
1717 * - Docs
1818 - |docs | |docs_check |
1919 * - Tests
20- - |travis | |actions_windows | |actions_macos | |coveralls | |codefactor |
20+ - |travis | |actions_windows | |actions_macos | |coveralls | |codefactor | | pre_commit_ci |
2121 * - PyPI
2222 - |pypi-version | |supported-versions | |supported-implementations | |wheel |
2323 * - Anaconda
@@ -106,6 +106,9 @@ flake8-dunder-all
106106.. |pre_commit | pre-commit-shield ::
107107 :alt: pre-commit
108108
109+ .. |pre_commit_ci | pre-commit-ci-shield ::
110+ :alt: pre-commit.ci status
111+
109112.. end shields
110113
111114 Installation
You can’t perform that action at this time.
0 commit comments