flask-mongoengine2 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flask-mongoengine2-2.0.0/.codeclimate.yml +20 -0
- flask-mongoengine2-2.0.0/.editorconfig +30 -0
- flask-mongoengine2-2.0.0/.github/labels.yml +91 -0
- flask-mongoengine2-2.0.0/.github/release-drafter.yml +30 -0
- flask-mongoengine2-2.0.0/.github/workflows/coverage.yml +52 -0
- flask-mongoengine2-2.0.0/.github/workflows/drafter.yml +14 -0
- flask-mongoengine2-2.0.0/.github/workflows/labeler-check.yml +18 -0
- flask-mongoengine2-2.0.0/.github/workflows/labeler.yml +18 -0
- flask-mongoengine2-2.0.0/.github/workflows/linting.yml +35 -0
- flask-mongoengine2-2.0.0/.github/workflows/tests.yml +37 -0
- flask-mongoengine2-2.0.0/.gitignore +25 -0
- flask-mongoengine2-2.0.0/.markdownlint.json +18 -0
- flask-mongoengine2-2.0.0/.pre-commit-config.yaml +46 -0
- flask-mongoengine2-2.0.0/.readthedocs.yaml +21 -0
- flask-mongoengine2-2.0.0/.sourcery.yaml +19 -0
- flask-mongoengine2-2.0.0/AUTHORS.md +101 -0
- flask-mongoengine2-2.0.0/CONTRIBUTING.md +221 -0
- flask-mongoengine2-2.0.0/LICENSE.md +32 -0
- flask-mongoengine2-2.0.0/MANIFEST.in +10 -0
- flask-mongoengine2-2.0.0/PKG-INFO +125 -0
- flask-mongoengine2-2.0.0/README.md +76 -0
- flask-mongoengine2-2.0.0/codecov.yml +1 -0
- flask-mongoengine2-2.0.0/docker-compose.yml +25 -0
- flask-mongoengine2-2.0.0/docs/AUTHORS.md +101 -0
- flask-mongoengine2-2.0.0/docs/CONTRIBUTING.md +221 -0
- flask-mongoengine2-2.0.0/docs/LICENSE.md +32 -0
- flask-mongoengine2-2.0.0/docs/_static/css/custom.css +7 -0
- flask-mongoengine2-2.0.0/docs/_static/debug_toolbar.png +0 -0
- flask-mongoengine2-2.0.0/docs/api/base.rst +47 -0
- flask-mongoengine2-2.0.0/docs/api/index.rst +7 -0
- flask-mongoengine2-2.0.0/docs/changelog.rst +139 -0
- flask-mongoengine2-2.0.0/docs/conf.py +261 -0
- flask-mongoengine2-2.0.0/docs/custom_queryset.md +61 -0
- flask-mongoengine2-2.0.0/docs/db_model.md +19 -0
- flask-mongoengine2-2.0.0/docs/debug_toolbar.md +108 -0
- flask-mongoengine2-2.0.0/docs/flask_config.md +54 -0
- flask-mongoengine2-2.0.0/docs/index.rst +21 -0
- flask-mongoengine2-2.0.0/docs/requirements.txt +6 -0
- flask-mongoengine2-2.0.0/docs/session_interface.md +11 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/__init__.py +144 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/_version.py +16 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/connection.py +130 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/decorators.py +28 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/documents.py +101 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/pagination.py +183 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/panels.py +194 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/sessions.py +100 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2/templates/panels/mongo-panel.html +93 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2.egg-info/PKG-INFO +125 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2.egg-info/SOURCES.txt +66 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2.egg-info/dependency_links.txt +1 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2.egg-info/not-zip-safe +1 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2.egg-info/requires.txt +18 -0
- flask-mongoengine2-2.0.0/flask_mongoengine2.egg-info/top_level.txt +1 -0
- flask-mongoengine2-2.0.0/noxfile.py +130 -0
- flask-mongoengine2-2.0.0/pyproject.toml +120 -0
- flask-mongoengine2-2.0.0/setup.cfg +28 -0
- flask-mongoengine2-2.0.0/setup.py +4 -0
- flask-mongoengine2-2.0.0/tests/__init__.py +0 -0
- flask-mongoengine2-2.0.0/tests/conftest.py +78 -0
- flask-mongoengine2-2.0.0/tests/test_base.py +20 -0
- flask-mongoengine2-2.0.0/tests/test_basic_app.py +45 -0
- flask-mongoengine2-2.0.0/tests/test_connection.py +265 -0
- flask-mongoengine2-2.0.0/tests/test_debug_panel.py +248 -0
- flask-mongoengine2-2.0.0/tests/test_decorators.py +17 -0
- flask-mongoengine2-2.0.0/tests/test_pagination.py +91 -0
- flask-mongoengine2-2.0.0/tests/test_session.py +77 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
version: "2"
|
|
2
|
+
checks:
|
|
3
|
+
file-lines:
|
|
4
|
+
enabled: false
|
|
5
|
+
method-count:
|
|
6
|
+
enabled: false
|
|
7
|
+
method-lines:
|
|
8
|
+
enabled: false
|
|
9
|
+
complex-logic:
|
|
10
|
+
config:
|
|
11
|
+
threshold: 10
|
|
12
|
+
method-complexity:
|
|
13
|
+
config:
|
|
14
|
+
threshold: 10
|
|
15
|
+
argument-count:
|
|
16
|
+
config:
|
|
17
|
+
threshold: 20
|
|
18
|
+
exclude_patterns:
|
|
19
|
+
- "tests/"
|
|
20
|
+
- "example_app/"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# http://editorconfig.org
|
|
2
|
+
# https://editorconfig-specification.readthedocs.io/en/latest/
|
|
3
|
+
|
|
4
|
+
root = true
|
|
5
|
+
|
|
6
|
+
[*]
|
|
7
|
+
charset = utf-8
|
|
8
|
+
end_of_line = lf
|
|
9
|
+
insert_final_newline = true
|
|
10
|
+
trim_trailing_whitespace = true
|
|
11
|
+
|
|
12
|
+
[*.{py,ini,sh}]
|
|
13
|
+
indent_style = space
|
|
14
|
+
indent_size = 4
|
|
15
|
+
|
|
16
|
+
[*.{html,css,scss,json,yml,tpl,js,jsx}]
|
|
17
|
+
indent_style = space
|
|
18
|
+
indent_size = 2
|
|
19
|
+
|
|
20
|
+
[*.md]
|
|
21
|
+
indent_style = space
|
|
22
|
+
indent_size = 4
|
|
23
|
+
tab_width = 4
|
|
24
|
+
|
|
25
|
+
[*.rst]
|
|
26
|
+
indent_style = space
|
|
27
|
+
indent_size = 3
|
|
28
|
+
|
|
29
|
+
[Makefile]
|
|
30
|
+
indent_style = tab
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
- name: "topic: CI/CD"
|
|
2
|
+
color: "54f449"
|
|
3
|
+
description: "This issue/PR relates to CI/CD pipeline change"
|
|
4
|
+
- name: "topic: code style"
|
|
5
|
+
color: "54f449"
|
|
6
|
+
description: "This issue/PR relates to code style."
|
|
7
|
+
from_name: "code quality"
|
|
8
|
+
- name: "topic: tests"
|
|
9
|
+
color: "54f449"
|
|
10
|
+
description: "This issue/PR relates to tests, QA, CI."
|
|
11
|
+
- name: "topic: deprecated"
|
|
12
|
+
color: "999999"
|
|
13
|
+
description: "Feature or component marked as deprecated and will be removed"
|
|
14
|
+
- name: "topic: documentation"
|
|
15
|
+
color: "54f449"
|
|
16
|
+
description: "This issue/PR relates to or includes documentation."
|
|
17
|
+
from_name: "Documentation"
|
|
18
|
+
- name: "type: breaking-change"
|
|
19
|
+
color: "310372"
|
|
20
|
+
description: "Marks an important and likely breaking old interface change."
|
|
21
|
+
- name: "type: feature"
|
|
22
|
+
color: "310372"
|
|
23
|
+
description: "New feature implementation"
|
|
24
|
+
- name: "type: enhancement"
|
|
25
|
+
color: "310372"
|
|
26
|
+
description: "Enhancement update for old feature"
|
|
27
|
+
from_name: "enhancement"
|
|
28
|
+
- name: "type: good first issue"
|
|
29
|
+
color: "310372"
|
|
30
|
+
description: "Good for newcomers"
|
|
31
|
+
from_name: "Good first contrib"
|
|
32
|
+
- name: "type: bug"
|
|
33
|
+
color: "b71914"
|
|
34
|
+
description: "Something isn't working"
|
|
35
|
+
from_name: "bug"
|
|
36
|
+
- name: "log:added"
|
|
37
|
+
color: "ff935e"
|
|
38
|
+
description: "Changelog mark label. Marks new added features."
|
|
39
|
+
- name: "log:breaking-change"
|
|
40
|
+
color: "ff935e"
|
|
41
|
+
description: "Changelog mark label. Marks breaking changes."
|
|
42
|
+
- name: "log:changed"
|
|
43
|
+
color: "ff935e"
|
|
44
|
+
description: "Changelog mark label. Marks old, but changed features."
|
|
45
|
+
- name: "log:deprecated"
|
|
46
|
+
color: "ff935e"
|
|
47
|
+
description: "Changelog mark label. Marks deprecated features, that will be removed in next major release."
|
|
48
|
+
- name: "log:fixed"
|
|
49
|
+
color: "ff935e"
|
|
50
|
+
description: "Changelog mark label. Marks fixed bug issues."
|
|
51
|
+
- name: "log:removed"
|
|
52
|
+
color: "ff935e"
|
|
53
|
+
description: "Changelog mark label. Marks removed features."
|
|
54
|
+
- name: "log:skip-changelog"
|
|
55
|
+
color: "ff935e"
|
|
56
|
+
description: "Should be excluded from the changelog."
|
|
57
|
+
- name: "os: linux"
|
|
58
|
+
color: "fbca04"
|
|
59
|
+
description: "This issue/PR related to linux systems"
|
|
60
|
+
- name: "os: mac"
|
|
61
|
+
color: "fbca04"
|
|
62
|
+
description: "This issue/PR related to mac systems"
|
|
63
|
+
- name: "os: windows"
|
|
64
|
+
color: "fbca04"
|
|
65
|
+
description: "This issue/PR related to windows systems"
|
|
66
|
+
- name: "question"
|
|
67
|
+
color: "d876e3"
|
|
68
|
+
description: "User questions, not related to issues"
|
|
69
|
+
from_name: "question"
|
|
70
|
+
- name: "decision: duplicate"
|
|
71
|
+
color: "eeeeee"
|
|
72
|
+
description: "This issue or pull request already exists"
|
|
73
|
+
from_name: "duplicate"
|
|
74
|
+
- name: "decision: wontfix"
|
|
75
|
+
color: "eeeeee"
|
|
76
|
+
description: "This will not be worked on"
|
|
77
|
+
from_name: "wontfix"
|
|
78
|
+
- name: "decision: wontmerge"
|
|
79
|
+
color: "eeeeee"
|
|
80
|
+
description: "PR Only: This pull request will not be merged (problem described in comments)"
|
|
81
|
+
- name: "stage: waiting-for-contributor"
|
|
82
|
+
color: "efc1ae"
|
|
83
|
+
from_name: "awaiting response"
|
|
84
|
+
description: "Waiting for answer from original contributor."
|
|
85
|
+
- name: "stage: WIP"
|
|
86
|
+
color: "efc1ae"
|
|
87
|
+
description: "Work In Progress"
|
|
88
|
+
- name: "stage: help wanted"
|
|
89
|
+
color: "efc1ae"
|
|
90
|
+
description: "Extra attention is needed"
|
|
91
|
+
from_name: "Help wanted"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
categories:
|
|
2
|
+
- title: 'Breaking Changes'
|
|
3
|
+
labels:
|
|
4
|
+
- 'log:breaking-change'
|
|
5
|
+
- title: 'Added'
|
|
6
|
+
labels:
|
|
7
|
+
- 'log:added'
|
|
8
|
+
- title: 'Changed'
|
|
9
|
+
labels:
|
|
10
|
+
- 'log:changed'
|
|
11
|
+
- title: 'Fixed'
|
|
12
|
+
labels:
|
|
13
|
+
- 'log:fixed'
|
|
14
|
+
- title: 'Deprecated'
|
|
15
|
+
labels:
|
|
16
|
+
- 'log:deprecated'
|
|
17
|
+
- title: 'Removed'
|
|
18
|
+
labels:
|
|
19
|
+
- 'log:removed'
|
|
20
|
+
exclude-labels:
|
|
21
|
+
- 'log:skip-changelog'
|
|
22
|
+
sort-by: 'title'
|
|
23
|
+
template: |
|
|
24
|
+
## Changes
|
|
25
|
+
|
|
26
|
+
$CHANGES
|
|
27
|
+
|
|
28
|
+
## This release is made by wonderful contributors:
|
|
29
|
+
|
|
30
|
+
$CONTRIBUTORS
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: Send Coverage to different analytic engines
|
|
2
|
+
# Only for last versions of python and mongo
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
tags:
|
|
9
|
+
- "*"
|
|
10
|
+
pull_request:
|
|
11
|
+
branches:
|
|
12
|
+
- "*"
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
coverage:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
mongodb-version: [5.0]
|
|
21
|
+
include:
|
|
22
|
+
- name: "coverage"
|
|
23
|
+
python: "3.10"
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v3
|
|
27
|
+
- name: Set up Python ${{ matrix.python }}
|
|
28
|
+
uses: actions/setup-python@v4
|
|
29
|
+
with:
|
|
30
|
+
python-version: ${{ matrix.python }}
|
|
31
|
+
- name: Install dependencies
|
|
32
|
+
run: |
|
|
33
|
+
python -m pip install --upgrade pip
|
|
34
|
+
pip install nox virtualenv
|
|
35
|
+
- name: Start MongoDB
|
|
36
|
+
uses: supercharge/mongodb-github-action@1.7.0
|
|
37
|
+
with:
|
|
38
|
+
mongodb-version: ${{ matrix.mongodb-version }}
|
|
39
|
+
- name: Test build
|
|
40
|
+
run: "nox -s 'latest-${{ matrix.python }}(toolbar=True)' -- --cov-report=xml --cov-report=html"
|
|
41
|
+
- name: Send coverage report to codecov
|
|
42
|
+
uses: codecov/codecov-action@v3
|
|
43
|
+
with:
|
|
44
|
+
file: ./coverage.xml
|
|
45
|
+
- name: Send coverage report to codeclimate
|
|
46
|
+
uses: paambaati/codeclimate-action@v3.0.0
|
|
47
|
+
continue-on-error: true
|
|
48
|
+
with:
|
|
49
|
+
coverageCommand: echo "Ignore rerun"
|
|
50
|
+
coverageLocations: ${{github.workspace}}/coverage.xml:coverage.py
|
|
51
|
+
env:
|
|
52
|
+
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Labels verification
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
labeler:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- name: Checkout
|
|
11
|
+
uses: actions/checkout@v3
|
|
12
|
+
- name: Run Labeler
|
|
13
|
+
uses: crazy-max/ghaction-github-labeler@v4
|
|
14
|
+
with:
|
|
15
|
+
yaml_file: .github/labels.yml
|
|
16
|
+
dry_run: true
|
|
17
|
+
env:
|
|
18
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Labels verification
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
labeler:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- name: Checkout
|
|
12
|
+
uses: actions/checkout@v3
|
|
13
|
+
- name: Run Labeler
|
|
14
|
+
uses: crazy-max/ghaction-github-labeler@v4
|
|
15
|
+
with:
|
|
16
|
+
yaml_file: .github/labels.yml
|
|
17
|
+
env:
|
|
18
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Linting Tests
|
|
2
|
+
# Only for least supported python version
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
tags:
|
|
9
|
+
- "*"
|
|
10
|
+
pull_request:
|
|
11
|
+
branches:
|
|
12
|
+
- "*"
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
linting:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
include:
|
|
21
|
+
- name: "linting"
|
|
22
|
+
python: "3.10"
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v3
|
|
26
|
+
- name: Set up Python ${{ matrix.python }}
|
|
27
|
+
uses: actions/setup-python@v4
|
|
28
|
+
with:
|
|
29
|
+
python-version: ${{ matrix.python }}
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: |
|
|
32
|
+
python -m pip install --upgrade pip
|
|
33
|
+
pip install nox virtualenv
|
|
34
|
+
- name: Test build
|
|
35
|
+
run: "nox -s lint"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: CI Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- "*"
|
|
9
|
+
pull_request:
|
|
10
|
+
branches:
|
|
11
|
+
- "*"
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
strategy:
|
|
17
|
+
fail-fast: false
|
|
18
|
+
matrix:
|
|
19
|
+
mongodb-version: ["3.6", "4.0", "4.2", "4.4", "5.0"]
|
|
20
|
+
python: ["3.8", "3.9", "3.10", "3.11"]
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
|
+
- name: Set up Python ${{ matrix.python }}
|
|
25
|
+
uses: actions/setup-python@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: ${{ matrix.python }}
|
|
28
|
+
- name: Install dependencies
|
|
29
|
+
run: |
|
|
30
|
+
python -m pip install --upgrade pip
|
|
31
|
+
pip install nox virtualenv
|
|
32
|
+
- name: Start MongoDB
|
|
33
|
+
uses: supercharge/mongodb-github-action@1.7.0
|
|
34
|
+
with:
|
|
35
|
+
mongodb-version: ${{ matrix.mongodb-version }}
|
|
36
|
+
- name: Test build
|
|
37
|
+
run: "nox -s ci_cd_tests --python ${{ matrix.python }}"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
*.pyc
|
|
2
|
+
.*.swp
|
|
3
|
+
*.egg
|
|
4
|
+
docs/.build
|
|
5
|
+
docs/_build
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
*.egg-info/
|
|
9
|
+
env/
|
|
10
|
+
venv/
|
|
11
|
+
._*
|
|
12
|
+
.DS_Store
|
|
13
|
+
.coverage
|
|
14
|
+
.project
|
|
15
|
+
.pydevproject
|
|
16
|
+
.tox
|
|
17
|
+
.nox
|
|
18
|
+
.eggs
|
|
19
|
+
.idea
|
|
20
|
+
.vscode
|
|
21
|
+
htmlcov/
|
|
22
|
+
coverage.xml
|
|
23
|
+
_version.py
|
|
24
|
+
.venv
|
|
25
|
+
__pycache__
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"MD003": true,
|
|
3
|
+
"MD004": false,
|
|
4
|
+
"MD007": false,
|
|
5
|
+
"MD013": {
|
|
6
|
+
"tables": false,
|
|
7
|
+
"code_blocks": false,
|
|
8
|
+
"line_length": 88
|
|
9
|
+
},
|
|
10
|
+
"MD024": false,
|
|
11
|
+
"MD026": false,
|
|
12
|
+
"MD029": false,
|
|
13
|
+
"MD034": true,
|
|
14
|
+
"MD046": true,
|
|
15
|
+
"code-block-style": {
|
|
16
|
+
"style": "fenced"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v4.5.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: check-added-large-files
|
|
9
|
+
- id: check-ast
|
|
10
|
+
- id: check-case-conflict
|
|
11
|
+
- id: check-docstring-first
|
|
12
|
+
- id: check-executables-have-shebangs
|
|
13
|
+
- id: check-json
|
|
14
|
+
- id: check-shebang-scripts-are-executable
|
|
15
|
+
- id: check-symlinks
|
|
16
|
+
- id: check-toml
|
|
17
|
+
- id: check-xml
|
|
18
|
+
- id: check-yaml
|
|
19
|
+
- id: debug-statements
|
|
20
|
+
- id: destroyed-symlinks
|
|
21
|
+
- id: detect-private-key
|
|
22
|
+
- id: fix-byte-order-marker
|
|
23
|
+
- id: fix-encoding-pragma
|
|
24
|
+
args: [--remove]
|
|
25
|
+
- id: mixed-line-ending
|
|
26
|
+
- repo: https://github.com/psf/black
|
|
27
|
+
rev: 23.12.1
|
|
28
|
+
hooks:
|
|
29
|
+
- id: black
|
|
30
|
+
language_version: python3.10
|
|
31
|
+
exclude: ^docs/
|
|
32
|
+
- repo: https://github.com/PyCQA/flake8
|
|
33
|
+
rev: 7.0.0
|
|
34
|
+
hooks:
|
|
35
|
+
- id: flake8
|
|
36
|
+
exclude: ^docs/|^examples/
|
|
37
|
+
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
38
|
+
rev: v0.38.0
|
|
39
|
+
hooks:
|
|
40
|
+
- id: markdownlint
|
|
41
|
+
args: [-f]
|
|
42
|
+
exclude: ^(.github|tests)
|
|
43
|
+
- repo: https://github.com/PyCQA/isort
|
|
44
|
+
rev: 5.13.2
|
|
45
|
+
hooks:
|
|
46
|
+
- id: isort
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# .readthedocs.yaml
|
|
2
|
+
# Read the Docs configuration file
|
|
3
|
+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
4
|
+
version: 2
|
|
5
|
+
build:
|
|
6
|
+
os: ubuntu-22.04
|
|
7
|
+
tools:
|
|
8
|
+
python: "3.10"
|
|
9
|
+
sphinx:
|
|
10
|
+
configuration: docs/conf.py
|
|
11
|
+
formats:
|
|
12
|
+
- htmlzip
|
|
13
|
+
- pdf
|
|
14
|
+
- epub
|
|
15
|
+
python:
|
|
16
|
+
install:
|
|
17
|
+
- requirements: docs/requirements.txt
|
|
18
|
+
- method: pip
|
|
19
|
+
path: .
|
|
20
|
+
extra_requirements:
|
|
21
|
+
- toolbar
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
ignore: []
|
|
2
|
+
|
|
3
|
+
refactor:
|
|
4
|
+
include: []
|
|
5
|
+
skip:
|
|
6
|
+
- use-contextlib-suppress
|
|
7
|
+
rule_types:
|
|
8
|
+
- refactoring
|
|
9
|
+
- suggestion
|
|
10
|
+
- comment
|
|
11
|
+
python_version: '3.8'
|
|
12
|
+
|
|
13
|
+
metrics:
|
|
14
|
+
quality_threshold: 25.0
|
|
15
|
+
|
|
16
|
+
clone_detection:
|
|
17
|
+
min_lines: 3
|
|
18
|
+
min_duplicates: 2
|
|
19
|
+
identical_clones_only: false
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Credits
|
|
2
|
+
|
|
3
|
+
## Current maintainers:
|
|
4
|
+
|
|
5
|
+
- Ahmet Elgün
|
|
6
|
+
|
|
7
|
+
This project is made by incredible authors:
|
|
8
|
+
|
|
9
|
+
- Adam Chainz
|
|
10
|
+
- Ahmet Elgün
|
|
11
|
+
- aliaksandr.askerka
|
|
12
|
+
- Alistair Roche
|
|
13
|
+
- Almog Cohen
|
|
14
|
+
- Aly Sivji
|
|
15
|
+
- Andrew Elkins
|
|
16
|
+
- Andrey Shpak
|
|
17
|
+
- Anthony Nemitz
|
|
18
|
+
- Anton Antonov
|
|
19
|
+
- Axel Haustant
|
|
20
|
+
- bdadson
|
|
21
|
+
- bioneddy
|
|
22
|
+
- Boullier Jocelyn
|
|
23
|
+
- bright
|
|
24
|
+
- Bright Dadson
|
|
25
|
+
- BrightPan
|
|
26
|
+
- Bruno Belarmino
|
|
27
|
+
- Bruno Rocha
|
|
28
|
+
- Christian Wygoda
|
|
29
|
+
- Clay McClure
|
|
30
|
+
- Cory Dolphin
|
|
31
|
+
- Denny Huang
|
|
32
|
+
- Dragos Catarahia
|
|
33
|
+
- Emmanuel Leblond
|
|
34
|
+
- Fengda Huang
|
|
35
|
+
- fieliapm
|
|
36
|
+
- Garito
|
|
37
|
+
- Gregg Lind
|
|
38
|
+
- Ido Shraga
|
|
39
|
+
- icoz
|
|
40
|
+
- Jack Stouffer
|
|
41
|
+
- Jamar Parris
|
|
42
|
+
- jcass
|
|
43
|
+
- Jeff Tharp
|
|
44
|
+
- jmesquita
|
|
45
|
+
- Joao Mesquita
|
|
46
|
+
- Joe Shaw
|
|
47
|
+
- Joe Shaw
|
|
48
|
+
- Jorge Bastida
|
|
49
|
+
- jorgebastida
|
|
50
|
+
- JTG
|
|
51
|
+
- Jérôme Lafréchoux
|
|
52
|
+
- Jérôme Lafréchoux
|
|
53
|
+
- Len Buckens
|
|
54
|
+
- Liam McLoughlin
|
|
55
|
+
- losintikfos
|
|
56
|
+
- Lucas Nemeth
|
|
57
|
+
- Lucas Vogelsang
|
|
58
|
+
- Marcel Tschopp
|
|
59
|
+
- Marcus Carlsson
|
|
60
|
+
- Martin Hanzík
|
|
61
|
+
- Massimo Santini
|
|
62
|
+
- Mattias Granlund
|
|
63
|
+
- Max Countryman
|
|
64
|
+
- mickey06
|
|
65
|
+
- mxck
|
|
66
|
+
- Nauman Ahmad
|
|
67
|
+
- onlinejudge95
|
|
68
|
+
- Paul Brown
|
|
69
|
+
- Peter Kristensen
|
|
70
|
+
- PeterKharchenko
|
|
71
|
+
- Philip House
|
|
72
|
+
- qisoster
|
|
73
|
+
- rma4ok
|
|
74
|
+
- Rod Cloutier
|
|
75
|
+
- Ross Lawley
|
|
76
|
+
- Sebastian Karlsson
|
|
77
|
+
- Serge S. Koval
|
|
78
|
+
- Sibelius Seraphini
|
|
79
|
+
- Simon Eames
|
|
80
|
+
- Slavek Kabrda
|
|
81
|
+
- Stefan Wójcik
|
|
82
|
+
- Stephen Brown II
|
|
83
|
+
- Stormxx
|
|
84
|
+
- Thanathip Limna
|
|
85
|
+
- Thomas Steinacher
|
|
86
|
+
- Tim Gates
|
|
87
|
+
- Ty3uK
|
|
88
|
+
- vantastic
|
|
89
|
+
- wcdolphin
|
|
90
|
+
- woo
|
|
91
|
+
- yoyicue
|
|
92
|
+
- Zephor 武智辉
|
|
93
|
+
- Иришка
|
|
94
|
+
- Павел Литвиненко
|
|
95
|
+
- 庄天翼
|
|
96
|
+
|
|
97
|
+
This project inspired by two repos:
|
|
98
|
+
|
|
99
|
+
- [danjac]
|
|
100
|
+
|
|
101
|
+
[danjac]: https://bitbucket.org/danjac/flask-mongoengine
|