Skip to content

Commit db627c2

Browse files
committed
Added get method, type annotations, more tests
1 parent 6d4f70e commit db627c2

File tree

12 files changed

+1455
-23
lines changed

12 files changed

+1455
-23
lines changed

.flake8

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Autoformatter friendly flake8 config (all formatting rules disabled)
2+
[flake8]
3+
extend-ignore = E1, E2, E3, E501, W1, W2, W3, W5

.github/workflows/build.yml

+13
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ jobs:
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818

19+
- name: Configure sysctl limits
20+
run: |
21+
sudo swapoff -a
22+
sudo sysctl -w vm.swappiness=1
23+
sudo sysctl -w fs.file-max=262144
24+
sudo sysctl -w vm.max_map_count=262144
25+
26+
- name: Runs Elasticsearch
27+
uses: elastic/elastic-github-actions/elasticsearch@master
28+
with:
29+
stack-version: 7.6.0
30+
1931
- name: Install poetry
2032
run: make poetry-download
2133

@@ -24,6 +36,7 @@ jobs:
2436
with:
2537
path: .venv
2638
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
39+
2740
- name: Install dependencies
2841
run: |
2942
poetry config virtualenvs.in-project true

.isort.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[settings]
2+
profile=black

0 commit comments

Comments
 (0)