Skip to content

Commit

Permalink
Updated files with 'repo_helper'.
Browse files Browse the repository at this point in the history
  • Loading branch information
repo-helper[bot] committed Mar 24, 2021
1 parent 4ec1c96 commit 11d1f56
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 65 deletions.
1 change: 0 additions & 1 deletion .github/workflows/conda_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: Conda Tests

on:
push:
pull_request:
branches: ["master"]

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/docs_test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
---
name: "Docs Check"
on:
- pull_request
- push

jobs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: Flake8

on:
push:
pull_request:
branches: ["master"]

jobs:
Run:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: mypy

on:
push:
pull_request:
branches: ["master"]

jobs:
Run:
Expand All @@ -14,7 +12,7 @@ jobs:

strategy:
matrix:
os: ['windows-2019', 'macos-latest', 'ubuntu-20.04']
os: ['ubuntu-20.04', 'windows-2019']
fail-fast: false

steps:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: Windows

on:
push:
pull_request:
branches: ["master"]

jobs:
tests:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: Linux

on:
push:
pull_request:
branches: ["master"]

jobs:
tests:
Expand Down Expand Up @@ -127,7 +125,7 @@ jobs:

- name: Upload distribution to PyPI 🚀
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: macOS

on:
push:
pull_request:
branches: ["master"]

jobs:
tests:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repos:
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$

- repo: https://github.com/domdfcoding/dep_checker
rev: v0.5.0
rev: v0.6.0
hooks:
- id: dep_checker
args:
Expand Down
3 changes: 2 additions & 1 deletion doc-source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"sphinx_toolbox",
"sphinx_toolbox.more_autodoc",
"sphinx_toolbox.more_autosummary",
"sphinx_toolbox.documentation_summary",
"sphinx_toolbox.tweaks.param_dash",
"sphinx_toolbox.tweaks.latex_toc",
"sphinx.ext.intersphinx",
Expand Down Expand Up @@ -112,7 +113,7 @@
hide_none_rtype = True
all_typevars = True
overloads_location = "bottom"

documentation_summary = "A Flake8 plugin to identify incorrect use of encodings."

autodoc_exclude_members = [ # Exclude "standard" methods.
"__dict__",
Expand Down
2 changes: 1 addition & 1 deletion doc-source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ flake8-encodings

.. start short_desc
**A Flake8 plugin to identify incorrect use of encodings.**
.. documentation-summary::

.. end short_desc
Expand Down
2 changes: 1 addition & 1 deletion doc-source/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sphinx-debuginfo>=0.1.0
sphinx-notfound-page>=0.5
sphinx-prompt>=1.1.0
sphinx-tabs>=1.1.13
sphinx-toolbox>=2.1.0
sphinx-toolbox>=2.2.0
sphinxcontrib-httpdomain>=1.7.0
sphinxemoji>=0.1.6
tabulate>=0.8.7
Expand Down
1 change: 1 addition & 0 deletions formate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ known_third_party = [
"flake8",
"flake8_helper",
"github",
"jedi",
"pytest",
"pytest_cov",
"pytest_randomly",
Expand Down
43 changes: 0 additions & 43 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,6 @@
# * mypy
# * options.entry_points

[metadata]
name = flake8-encodings
author = Dominic Davis-Foster
author_email = dominic@davis-foster.co.uk
license = MIT License
keywords = flake8, encodings, pep597, unicode
long_description = file: README.rst
long_description_content_type = text/x-rst
platforms = Windows, macOS, Linux
url = https://github.com/domdfcoding/flake8-encodings
project_urls =
Documentation = https://flake8-encodings.readthedocs.io/en/latest
Issue Tracker = https://github.com/domdfcoding/flake8-encodings/issues
Source Code = https://github.com/domdfcoding/flake8-encodings
classifiers =
Development Status :: 4 - Beta
Framework :: Flake8
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Utilities
Typing :: Typed

[options]
python_requires = >=3.6.1
zip_safe = False
include_package_data = True
packages = find:

[options.packages.find]
exclude =
doc-source
tests
tests.*

[mypy]
python_version = 3.6
namespace_packages = True
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ deps =
flake8-builtins>=1.5.3
flake8-docstrings>=1.5.0
flake8-dunder-all>=0.1.1
flake8-encodings>=0.1.0
flake8-github-actions>=0.1.0
flake8-pyi>=20.10.0
flake8-pytest-style>=1.3.0
flake8-slots>=0.1.0
flake8-sphinx-links>=0.0.4
flake8-strftime>=0.1.1
flake8-typing-imports>=1.10.0
flake8-encodings>=0.1.0
flake8-slots>=0.1.0
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
git+https://github.com/domdfcoding/flake8-quotes.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
pydocstyle>=6.0.0
pygments>=2.7.1
commands = python3 -m flake8_rst_docstrings_sphinx flake8_encodings tests --allow-toolbox {posargs}

Expand Down Expand Up @@ -130,6 +130,7 @@ inline-quotes = "
multiline-quotes = """
docstring-quotes = """
count = True
min_python_version = 3.6.1
[coverage:run]
plugins = coverage_pyver_pragma
Expand Down

0 comments on commit 11d1f56

Please sign in to comment.