File tree Expand file tree Collapse file tree 21 files changed +1632
-267
lines changed Expand file tree Collapse file tree 21 files changed +1632
-267
lines changed Original file line number Diff line number Diff line change
1
+ # editorconfig.org
2
+
3
+ root = true
4
+
5
+ [* ]
6
+ indent_style = space
7
+ indent_size = 4
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+ end_of_line = lf
12
+
13
+ [Makefile ]
14
+ indent_style = tab
15
+
16
+ [* .md ]
17
+ trim_trailing_whitespace = false
18
+
19
+ [* .{yml,toml,yaml} ]
20
+ indent_size = 2
Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ show-source = true
3
+ statistics = true
4
+ exclude =
5
+ .git
6
+
7
+ # These settings make flake8 compatible with Black:
8
+ # max-line-length: https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
9
+ # E203: https://black.readthedocs.io/en/stable/the_black_code_style.html#slices
10
+ # E503: https://black.readthedocs.io/en/stable/the_black_code_style.html#line-breaks-binary-operators
11
+ max-line-length = 88
12
+ ignore = E203, W503
Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ pull_request_target :
5
+ branches : [ master ]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up Python 3.9
15
+ uses : actions/setup-python@v2
16
+ with :
17
+ python-version : " 3.9"
18
+ - name : Install dependencies
19
+ run : |
20
+ python -m pip install --upgrade pip
21
+ pip install poetry
22
+ make install_dev
23
+ - name : Run tests and coverage
24
+ run : make test_cov
25
+ - name : Upload coverage to Codecov
26
+ uses : codecov/codecov-action@v2
Original file line number Diff line number Diff line change
1
+ name : Docs
2
+ on :
3
+ workflow_dispatch :
4
+
5
+ jobs :
6
+ deploy :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-python@v2
11
+ with :
12
+ python-version : 3.x
13
+ - run : pip install mkdocs-material "mkdocstrings[python]" mike
14
+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change
1
+ name : Publish Yahooquery
2
+ on :
3
+ push :
4
+ tags :
5
+ - " v*.*.*"
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ - name : Build and publish to pypi
12
+
13
+ with :
14
+ pypi_token : ${{ secrets.PYPI_KEY }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ [settings]
2
+ import_heading_firstparty =first party
3
+ import_heading_future =future
4
+ import_heading_local =local
5
+ import_heading_stdlib =stdlib
6
+ import_heading_thirdparty =third party
7
+ known_third_party =sgqlc
8
+
9
+ # These settings makes isort compatible with Black:
10
+ # https://github.com/psf/black#how-black-wraps-lines
11
+ multi_line_output =3
12
+ include_trailing_comma =1
13
+ force_grid_wrap =0
14
+ use_parentheses =1
15
+ line_length =88
Original file line number Diff line number Diff line change
1
+ default_stages : [push]
2
+ default_language_version :
3
+ python : python3.9
4
+ repos :
5
+ - repo : local
6
+ hooks :
7
+ - id : isort
8
+ stages : [commit,push]
9
+ name : isort
10
+ entry : poetry run isort -rc
11
+ language : system
12
+ types : [python]
13
+ - id : black
14
+ stages : [commit,push]
15
+ name : black
16
+ entry : poetry run black -S .
17
+ language : system
18
+ types : [python]
19
+ - id : mypy
20
+ stages : [commit,push]
21
+ name : mypy
22
+ entry : poetry run mypy --ignore-missing-imports
23
+ language : system
24
+ types : [python]
25
+ - repo : https://github.com/pre-commit/pre-commit-hooks
26
+ rev : v2.1.0
27
+ hooks :
28
+ - id : trailing-whitespace
29
+ stages : [commit,push]
30
+ - id : check-added-large-files
31
+ - id : check-ast
32
+ stages : [commit,push]
33
+ - id : check-case-conflict
34
+ - id : check-byte-order-marker
35
+ - id : check-executables-have-shebangs
36
+ - id : check-docstring-first
37
+ stages : [commit,push]
38
+ - id : check-json
39
+ - id : check-merge-conflict
40
+ stages : [commit,push]
41
+ - id : check-symlinks
42
+ - id : check-vcs-permalinks
43
+ - id : check-xml
44
+ - id : check-yaml
45
+ - id : debug-statements
46
+ - id : detect-private-key
47
+ - id : flake8
48
+ stages : [commit,push]
49
+ - id : forbid-new-submodules
50
+ - id : no-commit-to-branch
51
+ stages : [commit,push]
52
+ args :
53
+ - --branch=main
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments