Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

Commit eaa45ce

Browse files
authored
Merge pull request #2 from fyndata/develop
Release 0.0.1
2 parents 48b585c + 16b2fb6 commit eaa45ce

File tree

18 files changed

+649
-2
lines changed

18 files changed

+649
-2
lines changed

.circleci/config.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# CircleCI 2.0 configuration file for this project.
2+
#
3+
# Notes:
4+
# - Do not use CircleCI's brand of Docker images unless it is for a secondary environment.
5+
# - We chose not to use dependencies caching because it is complicated to do it right and it is
6+
# not worth the effort for a project so small.
7+
#
8+
# For more information check out:
9+
# - https://circleci.com/docs/2.0/language-python/ for more details
10+
# - https://circleci.com/docs/2.0/configuration-reference/
11+
#
12+
version: 2
13+
jobs:
14+
build:
15+
docker:
16+
- image: python:3.7.1
17+
18+
working_directory: ~/repo
19+
20+
steps:
21+
- checkout
22+
23+
- run:
24+
name: install dependencies
25+
command: |
26+
python3 -m venv venv
27+
. venv/bin/activate
28+
pip install --upgrade pip
29+
pip install --upgrade setuptools wheel
30+
pip install -r requirements/test.txt
31+
# pip install -r requirements/extras.txt
32+
33+
# run tests!
34+
- run:
35+
name: run tests
36+
command: |
37+
. venv/bin/activate
38+
make lint
39+
make test-coverage
40+
make test-coverage-report-console
41+
make test-coverage-report-html
42+
make dist
43+
44+
- store_artifacts:
45+
path: test-reports
46+
destination: test-reports

.coveragerc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[run]
2+
source =
3+
fd_gcp/
4+
5+
branch = True
6+
7+
[report]
8+
exclude_lines =
9+
pragma: no cover
10+
if __name__ == .__main__.
11+
show_missing = True
12+
13+
[html]
14+
directory = test-reports/coverage/html

.editorconfig

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
max_line_length = 100
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
[*.{ini,py,rst}]
15+
indent_style = space
16+
indent_size = 4
17+
18+
[*.py]
19+
multi_line_output = 3
20+
21+
[*.{css,html,js,json,scss,xml,yml,yaml}]
22+
indent_style = space
23+
indent_size = 2
24+
25+
# minified JavaScript files should not be modified
26+
[**.min.js]
27+
indent_style = ignore
28+
insert_final_newline = ignore
29+
30+
[*.md]
31+
trim_trailing_whitespace = false
32+
33+
[*.{diff,patch}]
34+
trim_trailing_whitespace = false
35+
36+
[*.sh]
37+
indent_style = tab
38+
39+
[Makefile]
40+
indent_style = tab

.gitignore

Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
### Python template
2+
# Byte-compiled / optimized / DLL files
3+
__pycache__/
4+
*.py[cod]
5+
*$py.class
6+
7+
# C extensions
8+
*.so
9+
10+
# Distribution / packaging
11+
.Python
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
coverage
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
.hypothesis/
50+
.pytest_cache/
51+
# nyc test coverage
52+
.nyc_output
53+
# custom directories
54+
test-reports
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
staticfiles/
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# SQLite DBs
73+
*.db
74+
*.sqlite3
75+
76+
# Sphinx documentation
77+
docs/_build/
78+
79+
# mkdocs documentation
80+
/site
81+
82+
# PyBuilder
83+
target/
84+
85+
# Jupyter Notebook
86+
.ipynb_checkpoints
87+
88+
# pyenv
89+
.python-version
90+
91+
# celery beat schedule file
92+
celerybeat-schedule
93+
94+
# SageMath parsed files
95+
*.sage.py
96+
97+
# Environments
98+
.env
99+
.venv
100+
env/
101+
venv/
102+
ENV/
103+
env.bak/
104+
venv.bak/
105+
106+
# mypy
107+
.mypy_cache/
108+
109+
110+
# Runtime data
111+
pids
112+
*.pid
113+
*.seed
114+
*.pid.lock
115+
116+
117+
### VirtualEnv template
118+
# Virtualenv
119+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
120+
[Bb]in
121+
[Ii]nclude
122+
[Ll]ib
123+
[Ll]ib64
124+
[Ll]ocal
125+
[Ss]cripts
126+
pyvenv.cfg
127+
pip-selfcheck.json
128+
129+
130+
### Misc editors, IDES
131+
132+
# JetBrain editors
133+
.idea
134+
135+
*~
136+
*.swp
137+
*.swo
138+
139+
# Spyder project settings
140+
.spyderproject
141+
.spyproject
142+
143+
# Rope project settings
144+
.ropeproject
145+
146+
147+
### Git ###
148+
*.orig
149+
150+
151+
### Linux template
152+
*~
153+
154+
# temporary files which can be created if a process still has a handle open of a deleted file
155+
.fuse_hidden*
156+
157+
# KDE directory preferences
158+
.directory
159+
160+
# Linux trash folder which might appear on any partition or disk
161+
.Trash-*
162+
163+
# .nfs files are created when an open file is removed but is still being accessed
164+
.nfs*
165+
166+
167+
### Windows template
168+
# Windows thumbnail cache files
169+
Thumbs.db
170+
ehthumbs.db
171+
ehthumbs_vista.db
172+
173+
# Dump file
174+
*.stackdump
175+
176+
# Folder config file
177+
[Dd]esktop.ini
178+
179+
# Recycle Bin used on file shares
180+
$RECYCLE.BIN/
181+
182+
# Windows Installer files
183+
*.cab
184+
*.msi
185+
*.msix
186+
*.msm
187+
*.msp
188+
189+
# Windows shortcuts
190+
*.lnk
191+
192+
193+
### macOS template
194+
# General
195+
*.DS_Store
196+
.AppleDouble
197+
.LSOverride
198+
199+
# Icon must end with two \r
200+
Icon
201+
202+
# Thumbnails
203+
._*
204+
205+
# Files that might appear in the root of a volume
206+
.DocumentRevisions-V100
207+
.fseventsd
208+
.Spotlight-V100
209+
.TemporaryItems
210+
.Trashes
211+
.VolumeIcon.icns
212+
.com.apple.timemachine.donotpresent
213+
214+
# Directories potentially created on remote AFP share
215+
.AppleDB
216+
.AppleDesktop
217+
Network Trash Folder
218+
Temporary Items
219+
.apdisk
220+
221+
222+
### VisualStudioCode template
223+
.vscode
224+
225+
226+
### SublimeText template
227+
# Cache files for Sublime Text
228+
*.tmlanguage.cache
229+
*.tmPreferences.cache
230+
*.stTheme.cache
231+
232+
# Workspace files are user-specific
233+
*.sublime-workspace
234+
235+
# Project files should be checked into the repository, unless a significant
236+
# proportion of contributors will probably not be using Sublime Text
237+
*.sublime-project
238+
239+
# SFTP configuration file
240+
sftp-config.json
241+
242+
# Package control specific files
243+
Package Control.last-run
244+
Package Control.ca-list
245+
Package Control.ca-bundle
246+
Package Control.system-ca-bundle
247+
Package Control.cache/
248+
Package Control.ca-certs/
249+
Package Control.merged-ca-bundle
250+
Package Control.user-ca-bundle
251+
oscrypto-ca-bundle.crt
252+
bh_unicode_properties.cache
253+
254+
# Sublime-github package stores a github token in this file
255+
# https://packagecontrol.io/packages/sublime-github
256+
GitHub.sublime-settings
257+
258+
259+
### Vim template
260+
# Swap
261+
[._]*.s[a-v][a-z]
262+
[._]*.sw[a-p]
263+
[._]s[a-v][a-z]
264+
[._]sw[a-p]
265+
266+
# Session
267+
Session.vim
268+
269+
# Temporary
270+
.netrwhist
271+
272+
# Auto-generated tag files
273+
tags

MANIFEST.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include LICENSE
2+
include README.md
3+
4+
recursive-include tests *
5+
recursive-exclude * __pycache__
6+
recursive-exclude * *.py[co]
7+
8+
recursive-include docs *.md

0 commit comments

Comments
 (0)