-
Notifications
You must be signed in to change notification settings - Fork 439
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
Showing
71 changed files
with
9,696 additions
and
709 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,176 @@ | ||
{ | ||
"language": "en", | ||
"ignorePaths": [ | ||
"./app.json", | ||
".gitignore", | ||
"*.coverage", | ||
"*.min.js", | ||
"**/__pycache__/**", | ||
"**/*.egg-info/**", | ||
"**/*.git/**", | ||
"**/build/**", | ||
"**/coverage/**", | ||
"**/dist/**", | ||
"**/migrations/**", | ||
"**/swagger-ui-dist/**", | ||
"**/venv/**" | ||
], | ||
"dictionaries": [ | ||
"css", | ||
"django", | ||
"fonts", | ||
"local", | ||
"misc", | ||
"python", | ||
"softwareTerms" | ||
], | ||
"words": [ | ||
"addopts", | ||
"apiview", | ||
"askar", | ||
"auths", | ||
"authtoken", | ||
"autoclass", | ||
"autodata", | ||
"automodule", | ||
"avenir", | ||
"barebones", | ||
"basepath", | ||
"beaugunderson", | ||
"blueyed", | ||
"builddir", | ||
"bysource", | ||
"cacheable", | ||
"callabale", | ||
"camelize", | ||
"camelized", | ||
"classdoc", | ||
"codecov", | ||
"codegen", | ||
"coreapi", | ||
"coreschema", | ||
"corsheaders", | ||
"coveragerc", | ||
"cristi", | ||
"cristian", | ||
"cschema", | ||
"csrfmiddlewaretoken", | ||
"csrftoken", | ||
"dascalescu", | ||
"datadiff", | ||
"deauth", | ||
"deauthorize", | ||
"deprecated", | ||
"djangorestframework", | ||
"djmaster", | ||
"docstrings", | ||
"documentclass", | ||
"elnappo", | ||
"envlist", | ||
"eryk", | ||
"exitfirst", | ||
"extrahead", | ||
"figwidth", | ||
"filterset", | ||
"formop", | ||
"genindex", | ||
"getdefault", | ||
"ghuser", | ||
"gunicorn", | ||
"herokuapp", | ||
"hirokawa", | ||
"howto", | ||
"htbp", | ||
"htmlhelp", | ||
"immutablehash", | ||
"indentless", | ||
"initkwargs", | ||
"joellefkowitz", | ||
"jsons", | ||
"keepdb", | ||
"keyframeprefix", | ||
"letterpaper", | ||
"levelname", | ||
"linenos", | ||
"maxdepth", | ||
"minversion", | ||
"modindex", | ||
"monokai", | ||
"myparent", | ||
"napierała", | ||
"nbsp", | ||
"noscm", | ||
"npmignore", | ||
"odict", | ||
"omap", | ||
"paginators", | ||
"papersize", | ||
"passwordadmin", | ||
"plugable", | ||
"pointsize", | ||
"popd", | ||
"posargs", | ||
"preauth", | ||
"preauthorize", | ||
"prepended", | ||
"proxied", | ||
"psycopg", | ||
"pushd", | ||
"putenv", | ||
"pythonpath", | ||
"pytz", | ||
"qinsq", | ||
"quickstart", | ||
"rebilly", | ||
"redoc", | ||
"referenceable", | ||
"reftest", | ||
"refuri", | ||
"regexes", | ||
"representer", | ||
"rsichny", | ||
"rtype", | ||
"ruamel", | ||
"scrollbars", | ||
"searchbox", | ||
"serializers", | ||
"setuptools", | ||
"sidemenu", | ||
"sourcedir", | ||
"sphinxbuild", | ||
"sphinxopts", | ||
"sphinxproj", | ||
"staticfiles", | ||
"subclassing", | ||
"swaggerapi", | ||
"tenerowicz", | ||
"testenv", | ||
"testproj", | ||
"therefromhere", | ||
"toctree", | ||
"undoc", | ||
"unencrypted", | ||
"uritemplate", | ||
"urlconf", | ||
"urlconfs", | ||
"urlpatterns", | ||
"versionadded", | ||
"versionchanged", | ||
"versionmodified", | ||
"viewcode", | ||
"viewset", | ||
"viewsets", | ||
"vigrond", | ||
"vschema", | ||
"whitenoise", | ||
"wsgi", | ||
"xdist", | ||
"yasg", | ||
"yasgdoc", | ||
"yetanother", | ||
"yetanothers", | ||
"yourapp", | ||
"yusupov", | ||
"zbyszek" | ||
] | ||
} |
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,35 @@ | ||
--- | ||
name: 'Bug Report' | ||
about: Report a bug | ||
--- | ||
|
||
# Bug Report | ||
|
||
## Description | ||
|
||
<!-- edit: --> A clear and concise description of the problem... | ||
|
||
## Is this a regression? | ||
|
||
<!-- Did this behavior use to work in the previous version? --> | ||
<!-- edit: --> Yes, the previous version in which this bug was not present was: ... | ||
|
||
## Minimal Reproduction | ||
|
||
```code | ||
``` | ||
|
||
## Stack trace / Error message | ||
|
||
```code | ||
``` | ||
|
||
<!-- If the issue is accompanied by an exception or an error, please share it below: --> | ||
|
||
## Your Environment | ||
|
||
```code | ||
``` |
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 @@ | ||
--- | ||
name: 'Feature Request' | ||
about: Suggest a feature | ||
--- | ||
|
||
# Feature Request | ||
|
||
## Description | ||
|
||
<!-- edit: --> A clear and concise description of the problem or missing capability... | ||
|
||
## Describe the solution you'd like | ||
|
||
<!-- edit: --> If you have a solution in mind, please describe it. | ||
|
||
## Describe alternatives you've considered | ||
|
||
<!-- edit: --> Have you considered any alternative solutions or workarounds? |
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,31 @@ | ||
# PR Checklist | ||
|
||
Please check if your PR fulfills the following requirements: | ||
|
||
- [ ] The commit message follows our contributing guidelines | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
- [ ] Docs have been added / updated (for bug fixes / features) | ||
|
||
## PR Type | ||
|
||
What kind of change does this PR introduce? | ||
|
||
- [ ] Bugfix | ||
- [ ] Feature | ||
- [ ] Code style update | ||
- [ ] Refactoring (no functional changes) | ||
- [ ] Build related changes | ||
- [ ] CI related changes | ||
- [ ] Documentation content changes | ||
- [ ] Other | ||
|
||
## What is the current behavior? | ||
|
||
## What is the new behavior? | ||
|
||
## Does this PR introduce a breaking change? | ||
|
||
- [ ] Yes | ||
- [ ] No | ||
|
||
## Other information |
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,36 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
|
||
jobs: | ||
publish: | ||
name: Publish the package on pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set the python version | ||
uses: actions/setup-python@v2 | ||
|
||
# This is the version of python used to package the code. The unit | ||
# tests will have run against python 3.6, 3.7 etc ensuring | ||
# compatibility with those runtimes. | ||
# https://github.com/axnsan12/drf-yasg/pull/741#discussion_r713297594 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install pip dependencies | ||
run: pip install -r requirements/publish.txt | ||
|
||
- name: Build the distributions | ||
run: python setup.py sdist bdist_wheel | ||
|
||
- name: Publish the package | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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,33 @@ | ||
name: Review | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
review: | ||
name: Run linters and tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python: [3.6, 3.7, 3.8, 3.9] | ||
|
||
steps: | ||
- name: Set up pip package caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: ${{ runner.os }}-pip- | ||
|
||
- name: Checkout the source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set the python version | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Install pip dependencies | ||
run: pip install -r requirements/ci.txt | ||
|
||
- name: Run unit tests | ||
run: tox |
Oops, something went wrong.