-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e3c4867
Showing
57 changed files
with
3,071 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[bumpversion] | ||
current_version = 0.0.0 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:__pkginfo__.py] | ||
|
||
[bumpversion:file:README.rst] | ||
|
||
[bumpversion:file:doc-source/index.rst] | ||
|
||
[bumpversion:file:doc-source/usage.rst] | ||
|
||
[bumpversion:file:repo_helper.yml] | ||
|
||
[bumpversion:file:flake8_encodings/__init__.py] | ||
|
||
[bumpversion:file:flake8_slots/__init__.py] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
version: 1 | ||
update_configs: | ||
- package_manager: python | ||
directory: / | ||
update_schedule: weekly | ||
default_reviewers: | ||
- domdfcoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
labels: bug | ||
assignees: domdfcoding | ||
|
||
--- | ||
|
||
<!-- Have you searched for similar issues? Before submitting this issue, please check the open issues and add a note before logging a new issue. | ||
PLEASE USE THE TEMPLATE BELOW TO PROVIDE INFORMATION ABOUT THE ISSUE. | ||
THE ISSUE WILL BE CLOSED IF INSUFFICIENT INFORMATION IS PROVIDED. | ||
--> | ||
|
||
## Description | ||
<!--Provide a brief description of the issue--> | ||
|
||
|
||
## Steps to Reproduce | ||
<!--Please add a series of steps to reproduce the issue--> | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
## Actual result: | ||
<!--Please add screenshots if needed and include the Python traceback if present--> | ||
|
||
|
||
## Expected result: | ||
|
||
|
||
## Reproduces how often: | ||
<!--[Easily reproduced/Intermittent issue/No steps to reproduce]--> | ||
|
||
|
||
## Version | ||
|
||
* Operating System: | ||
* Python: | ||
* flake8-slots: | ||
|
||
## Installation source | ||
<!-- e.g. Github repository, Github Releases, PyPI/pip, Anaconda/conda --> | ||
|
||
|
||
## Other Additional Information: | ||
<!--Any additional information, related issues, extra QA steps, configuration or data that might be necessary to reproduce the issue--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
labels: "enhancement" | ||
assignees: domdfcoding | ||
|
||
--- | ||
|
||
<!-- Have you searched for similar issues? Someone may already be working on the feature you are suggesting. Before submitting this issue, please check the open issues and add a note before logging a new issue. | ||
--> | ||
|
||
|
||
## Description | ||
<!--Provide a clear and concise description of what the problem is and the improvement you are suggesting--> | ||
|
||
<!--Please add screenshots if needed--> | ||
|
||
|
||
## Version | ||
|
||
* Operating System: | ||
* Python: | ||
* flake8-slots: | ||
|
||
|
||
## Other Additional Information: | ||
<!--Any additional information, related issues, etc.--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
|
||
set -e -x | ||
|
||
python -m repo_helper make-recipe || exit 1 | ||
|
||
# Switch to miniconda | ||
source "/home/runner/miniconda/etc/profile.d/conda.sh" | ||
hash -r | ||
conda activate base | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda install conda-build | ||
conda install anaconda-client | ||
conda info -a | ||
|
||
conda config --add channels conda-forge || exit 1 | ||
conda config --add channels domdfcoding || exit 1 | ||
|
||
conda build conda -c conda-forge -c domdfcoding --output-folder conda/dist --skip-existing | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
|
||
set -e -x | ||
|
||
# Switch to miniconda | ||
source "/home/runner/miniconda/etc/profile.d/conda.sh" | ||
hash -r | ||
conda activate base | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda install anaconda-client | ||
conda info -a | ||
|
||
for f in conda/dist/noarch/flake8-slots-*.tar.bz2; do | ||
[ -e "$f" ] || continue | ||
echo "$f" | ||
conda install "$f" || exit 1 | ||
echo "Deploying to Anaconda.org..." | ||
anaconda -t "$ANACONDA_TOKEN" upload "$f" || exit 1 | ||
echo "Successfully deployed to Anaconda.org." | ||
done | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
addReviewers: true | ||
addAssignees: true | ||
reviewers: | ||
- domdfcoding | ||
numberOfReviewers: 0 | ||
|
||
# more settings at https://github.com/marketplace/actions/auto-assign-action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
version: 2 | ||
updates: | ||
- package-ecosystem: pip | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
reviewers: | ||
- domdfcoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
# Configuration for probot-stale - https://github.com/probot/stale | ||
--- | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 180 | ||
|
||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. | ||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. | ||
daysUntilClose: 180 | ||
|
||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) | ||
onlyLabels: [] | ||
|
||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
exemptLabels: | ||
- pinned | ||
- security | ||
- "[Status] Maybe Later" | ||
|
||
# Set to true to ignore issues in a project (defaults to false) | ||
exemptProjects: false | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: false | ||
|
||
# Set to true to ignore issues with an assignee (defaults to false) | ||
exemptAssignees: false | ||
|
||
# Label to use when marking as stale | ||
staleLabel: wontfix | ||
|
||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when removing the stale label. | ||
# unmarkComment: > | ||
# Your comment here. | ||
|
||
# Comment to post when closing a stale Issue or Pull Request. | ||
# closeComment: > | ||
# Your comment here. | ||
|
||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 | ||
|
||
# Limit to only `issues` or `pulls` | ||
# only: issues | ||
|
||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': | ||
# pulls: | ||
# daysUntilStale: 30 | ||
# markComment: > | ||
# This pull request has been automatically marked as stale because it has not had | ||
# recent activity. It will be closed if no further activity occurs. Thank you | ||
# for your contributions. | ||
|
||
# issues: | ||
# exemptLabels: | ||
# - confirmed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
name: Artefact Cleaner | ||
on: | ||
schedule: | ||
- cron: 0 9 1 * * | ||
jobs: | ||
Clean: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: cleanup | ||
uses: glassechidna/artifact-cleaner@v2 | ||
with: | ||
minimumAge: 1000000.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
name: Conda Tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: ["master"] | ||
|
||
jobs: | ||
tests: | ||
name: "Conda" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎️ | ||
uses: "actions/checkout@v2" | ||
|
||
- name: Setup Python 🐍 | ||
uses: "actions/setup-python@v2" | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: Install dependencies 🔧 | ||
run: | | ||
python -VV | ||
python -m site | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install --upgrade repo_helper | ||
# $CONDA is an environment variable pointing to the root of the miniconda directory | ||
$CONDA/bin/conda update -q conda | ||
$CONDA/bin/conda install conda-build=3.21.0 | ||
$CONDA/bin/conda config --add channels conda-forge | ||
$CONDA/bin/conda config --add channels domdfcoding | ||
- name: "Build and install package" | ||
run: | | ||
# This mess is only necessary because conda won't fix it themselves | ||
# https://github.com/conda/conda/issues/1884 | ||
python -m repo_helper build --conda --out-dir conda-bld/noarch | ||
$CONDA/bin/conda index ./conda-bld || exit 1 | ||
$CONDA/bin/conda install -c file://$(pwd)/conda-bld flake8-slots -y || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
name: "Docs Check" | ||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: "actions/checkout@v1" | ||
- name: Install and Build 🔧 | ||
uses: ammaraskar/sphinx-action@master | ||
with: | ||
pre-build-command: apt-get update && apt-get install gcc python3-dev git pandoc -y && python -m pip install tox | ||
docs-folder: "doc-source/" | ||
build-command: "tox -e docs -- -W " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
name: Flake8 | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: ["master"] | ||
|
||
jobs: | ||
Run: | ||
name: "Flake8" | ||
runs-on: "ubuntu-18.04" | ||
|
||
steps: | ||
- name: Checkout 🛎️ | ||
uses: "actions/checkout@v2" | ||
|
||
- name: Setup Python 🐍 | ||
uses: "actions/setup-python@v2" | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: Install dependencies 🔧 | ||
run: | | ||
python -VV | ||
python -m site | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install tox | ||
- name: "Run Flake8" | ||
run: "python -m tox -e lint -- --format github" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This file is managed by 'repo_helper'. Don't edit it directly. | ||
--- | ||
name: mypy | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: ["master"] | ||
|
||
jobs: | ||
Run: | ||
name: "mypy / ${{ matrix.os }}" | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: ['windows-2019', 'macos-latest', 'ubuntu-20.04'] | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout 🛎️ | ||
uses: "actions/checkout@v2" | ||
|
||
- name: Setup Python 🐍 | ||
uses: "actions/setup-python@v2" | ||
with: | ||
python-version: "3.6" | ||
|
||
- name: Install dependencies 🔧 | ||
run: | | ||
python -VV | ||
python -m site | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install --upgrade tox virtualenv | ||
- name: "Run mypy" | ||
run: "python -m tox -e mypy" |
Oops, something went wrong.