Skip to content

Commit 764f104

Browse files
committed
Initial commit
0 parents  commit 764f104

12 files changed

+944
-0
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
trim_trailing_whitespace = true
6+
insert_final_newline = false
7+
indent_style = space
8+
indent_size = 4
9+
10+
[{CMakeLists.txt,*.cmake}]
11+
indent_size = 2
12+
tab_width = 8
13+
14+
[*.{h,hpp,hxx,c,cpp,cxx}]
15+
indent_size = 4
16+
tab_width = 8
17+
18+
[*.{yml,yaml}]
19+
indent_size = 2

.gitignore

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# Python
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+
cmake-build*/
14+
develop-eggs/
15+
dist/
16+
downloads/
17+
eggs/
18+
.eggs/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
pip-wheel-metadata/
25+
share/python-wheels/
26+
*.egg-info/
27+
.installed.cfg
28+
*.egg
29+
MANIFEST
30+
31+
# PyInstaller
32+
# Usually these files are written by a python script from a template
33+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
34+
*.manifest
35+
*.spec
36+
37+
# Installer logs
38+
pip-log.txt
39+
pip-delete-this-directory.txt
40+
41+
# Unit test / coverage reports
42+
htmlcov/
43+
.tox/
44+
.nox/
45+
.coverage
46+
.coverage.*
47+
.cache
48+
nosetests.xml
49+
coverage.xml
50+
*.cover
51+
*.py,cover
52+
.hypothesis/
53+
.pytest_cache/
54+
55+
# Translations
56+
*.mo
57+
*.pot
58+
59+
# Django stuff:
60+
*.log
61+
local_settings.py
62+
db.sqlite3
63+
db.sqlite3-journal
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# Sphinx documentation
73+
docs/_build/
74+
docs/doxygen
75+
76+
# PyBuilder
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
# For a library or package, you might want to ignore these files since the code is
88+
# intended to run in multiple environments; otherwise, check them in:
89+
# .python-version
90+
91+
# pipenv
92+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
94+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
95+
# install all needed dependencies.
96+
#Pipfile.lock
97+
98+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
99+
__pypackages__/
100+
101+
# Celery stuff
102+
celerybeat-schedule
103+
celerybeat.pid
104+
105+
# SageMath parsed files
106+
*.sage.py
107+
108+
# Environments
109+
.env
110+
.venv
111+
env/
112+
venv/
113+
ENV/
114+
env.bak/
115+
venv.bak/
116+
117+
# Spyder project settings
118+
.spyderproject
119+
.spyproject
120+
121+
# Rope project settings
122+
.ropeproject
123+
124+
# mkdocs documentation
125+
/site
126+
127+
# mypy
128+
.mypy_cache/
129+
.dmypy.json
130+
dmypy.json
131+
132+
# Pyre type checker
133+
.pyre/
134+
135+
# pytype static type analyzer
136+
.pytype/
137+
138+
# ==============================================================================
139+
# Prerequisites
140+
*.d
141+
142+
# C++
143+
# Compiled Object files
144+
*.slo
145+
*.lo
146+
*.o
147+
*.obj
148+
149+
# Precompiled Headers
150+
*.gch
151+
*.pch
152+
153+
# Compiled Dynamic libraries
154+
*.so
155+
*.dylib
156+
*.dll
157+
158+
# Fortran module files
159+
*.mod
160+
*.smod
161+
162+
# Compiled Static libraries
163+
*.lai
164+
*.la
165+
*.a
166+
*.lib
167+
168+
# Executables
169+
*.exe
170+
*.out
171+
*.app
172+
173+
# ==============================================================================
174+
175+
VERSION.txt
176+
compile_commands.json
177+
178+
# Windows artifacts
179+
thumbs.db
180+
181+
# Mac OSX artifacts
182+
*.DS_Store
183+
184+
# Other artifacts
185+
.cproject
186+
.project
187+
*.kdev4
188+
.idea
189+
*.iml
190+
.cache
191+
*.bak

.pre-commit-config.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
ci:
2+
skip: [check-manifest]
3+
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.0.1
7+
hooks:
8+
- id: check-added-large-files
9+
- id: check-case-conflict
10+
- id: check-merge-conflict
11+
- id: check-symlinks
12+
- id: check-yaml
13+
- id: check-toml
14+
- id: debug-statements
15+
- id: end-of-file-fixer
16+
- id: mixed-line-ending
17+
- id: trailing-whitespace
18+
- id: fix-encoding-pragma
19+
20+
- repo: https://github.com/Lucas-C/pre-commit-hooks
21+
rev: v1.1.10
22+
hooks:
23+
- id: insert-license
24+
files: \.py$
25+
args:
26+
- --license-filepath
27+
- misc/license_header.txt
28+
# Changes tabs to spaces
29+
- repo: https://github.com/Lucas-C/pre-commit-hooks
30+
rev: v1.1.10
31+
hooks:
32+
- id: remove-tabs
33+
34+
- repo: https://github.com/psf/black
35+
rev: 21.6b0
36+
hooks:
37+
- id: black
38+
language_version: python3
39+
# This is a slow hook, so only run this if --hook-stage manual is passed
40+
stages: [manual]
41+
42+
- repo: https://gitlab.com/pycqa/flake8
43+
rev: 3.9.2
44+
hooks:
45+
- id: flake8
46+
exclude: ^(docs/.*|tools/.*)$
47+
48+
- repo: https://github.com/pre-commit/mirrors-pylint
49+
rev: 'v3.0.0a3'
50+
hooks:
51+
- id: pylint
52+
# This is a slow hook, so only run this if --hook-stage manual is passed
53+
stages: [manual]
54+
55+
- repo: https://github.com/mgedmin/check-manifest
56+
rev: "0.46"
57+
hooks:
58+
- id: check-manifest
59+
additional_dependencies: ['setuptools-scm', 'pybind11>=2.6']

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
Initial release

0 commit comments

Comments
 (0)