Skip to content

Commit df92b3e

Browse files
committed
Add v1.0.0
1 parent f58cb5e commit df92b3e

File tree

170 files changed

+5998
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+5998
-3
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# EditorConfig
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = false
10+
insert_final_newline = false

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 110
3+
exclude = .git,__pycache__,__init__.py,.mypy_cache,.pytest_cache

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.pyc
2+
htmlcov
3+
.coverage

.pre-commit-config.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.1.0
4+
hooks:
5+
- id: check-ast
6+
- id: fix-byte-order-marker
7+
- id: check-docstring-first
8+
- id: check-merge-conflict
9+
- id: check-toml
10+
- id: check-vcs-permalinks
11+
- id: debug-statements
12+
- id: destroyed-symlinks
13+
- id: end-of-file-fixer
14+
- id: trailing-whitespace
15+
16+
- repo: https://github.com/psf/black
17+
rev: 22.3.0
18+
hooks:
19+
- id: black
20+
args: ["--line-length=110"]
21+
22+
- repo: https://github.com/pycqa/flake8
23+
rev: 4.0.1
24+
hooks:
25+
- id: flake8
26+
args: ["--max-line-length=110", "--ignore=E203,E501,W503", "--exclude=.git,__pycache__,__init__.py,.mypy_cache,.pytest_cache"]
27+
28+
- repo: https://github.com/Lucas-C/pre-commit-hooks-bandit
29+
rev: v1.0.5
30+
hooks:
31+
- id: python-bandit-vulnerability-check
32+
args: [--skip, "B101", --recursive, clumper]
33+
34+
- repo: https://github.com/pypa/pip-audit
35+
rev: v2.4.4
36+
hooks:
37+
- id: pip-audit
38+
args: ["-r", "requirements.txt"]
39+
40+
- repo: https://github.com/asottile/pyupgrade
41+
rev: v2.29.0
42+
hooks:
43+
- id: pyupgrade
44+
args: [--py37-plus]
45+
- repo: https://github.com/jorisroovers/gitlint
46+
rev: v0.16.0
47+
hooks:
48+
- id: gitlint

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Changelog
2+
---------
3+
4+
1.0.0
5+
6+
* Initial release.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 datarhei
3+
Copyright (c) 2022 FOSS GmbH
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include LICENSE
2+
include README.md
3+
include CHANGELOG.md

Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.PHONY: clean-pyc
2+
3+
default: test
4+
5+
clean-pyc:
6+
@find . -iname '*.py[co]' -delete
7+
@find . -iname '__pycache__' -delete
8+
@find . -iname '.coverage' -delete
9+
@rm -rf htmlcov/
10+
11+
clean-dist:
12+
@rm -rf dist/
13+
@rm -rf build/
14+
@rm -rf *.egg-info
15+
16+
clean: clean-pyc clean-dist
17+
18+
test:
19+
py.test -vvv --cov=core_client tests
20+
21+
dist: clean
22+
python setup.py sdist
23+
python setup.py bdist_wheel
24+
25+
release: dist
26+
git tag `python setup.py -q version`
27+
git push origin `python setup.py -q version`
28+
twine upload dist/*
29+
30+
lint:
31+
SKIP=no-commit-to-branch pre-commit run -a -v

0 commit comments

Comments
 (0)