-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 25c42dd
Showing
37 changed files
with
2,325 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[bumpversion] | ||
current_version = 0.0.0 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:setup.py] | ||
search = version="{current_version}" | ||
replace = version="{new_version}" | ||
|
||
[bumpversion:file (badge):README.rst] | ||
search = /v{current_version}.svg | ||
replace = /v{new_version}.svg | ||
|
||
[bumpversion:file (link):README.rst] | ||
search = /v{current_version}...main | ||
replace = /v{new_version}...main | ||
|
||
[bumpversion:file:docs/conf.py] | ||
search = version = release = "{current_version}" | ||
replace = version = release = "{new_version}" | ||
|
||
[bumpversion:file:src/lekidtools/__init__.py] | ||
search = __version__ = "{current_version}" | ||
replace = __version__ = "{new_version}" | ||
|
||
[bumpversion:file:.cookiecutterrc] | ||
search = version: {current_version} | ||
replace = version: {new_version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# This file exists so you can easily regenerate your project. | ||
# | ||
# `cookiepatcher` is a convenient shim around `cookiecutter` | ||
# for regenerating projects (it will generate a .cookiecutterrc | ||
# automatically for any template). To use it: | ||
# | ||
# pip install cookiepatcher | ||
# cookiepatcher gh:ionelmc/cookiecutter-pylibrary python-lekidtools | ||
# | ||
# See: | ||
# https://pypi.org/project/cookiepatcher | ||
# | ||
# Alternatively, you can run: | ||
# | ||
# cookiecutter --overwrite-if-exists --config-file=python-lekidtools/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary | ||
|
||
default_context: | ||
allow_tests_inside_package: "yes" | ||
c_extension_function: "longest" | ||
c_extension_module: "_lekidtools" | ||
c_extension_optional: "no" | ||
c_extension_support: "no" | ||
codacy: "no" | ||
codacy_projectid: "[Get ID from https://app.codacy.com/gh/Alan-Manning/python-lekidtools/settings]" | ||
codeclimate: "no" | ||
codecov: "yes" | ||
command_line_interface: "no" | ||
command_line_interface_bin_name: "lekidtools" | ||
coveralls: "no" | ||
distribution_name: "lekidtools" | ||
email: "[email protected]" | ||
formatter_quote_style: "double" | ||
full_name: "Alan Manning" | ||
github_actions: "yes" | ||
github_actions_osx: "yes" | ||
github_actions_windows: "yes" | ||
license: "GNU Lesser General Public License v3 or later (LGPLv3+)" | ||
package_name: "lekidtools" | ||
pre_commit: "yes" | ||
project_name: "lekidtools" | ||
project_short_description: "simple tools for python work with LEKIDs" | ||
pypi_badge: "yes" | ||
pypi_disable_upload: "no" | ||
release_date: "today" | ||
repo_hosting: "github.com" | ||
repo_hosting_domain: "github.com" | ||
repo_main_branch: "main" | ||
repo_name: "python-lekidtools" | ||
repo_username: "Alan-Manning" | ||
scrutinizer: "no" | ||
setup_py_uses_setuptools_scm: "no" | ||
sphinx_docs: "yes" | ||
sphinx_docs_hosting: "https://python-lekidtools.readthedocs.io/" | ||
sphinx_doctest: "no" | ||
sphinx_theme: "sphinx-rtd-theme" | ||
test_matrix_separate_coverage: "no" | ||
version: "0.0.0" | ||
version_manager: "bump2version" | ||
website: "https://github.com/Alan-Manning" | ||
year_from: "2024" | ||
year_to: "2024" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[paths] | ||
source = | ||
src | ||
*/site-packages | ||
|
||
[run] | ||
branch = true | ||
source = | ||
lekidtools | ||
tests | ||
parallel = true | ||
|
||
[report] | ||
show_missing = true | ||
precision = 2 | ||
omit = *migrations* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# see https://editorconfig.org/ | ||
root = true | ||
|
||
[*] | ||
# Use Unix-style newlines for most files (except Windows files, see below). | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
insert_final_newline = true | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.{bat,cmd,ps1}] | ||
end_of_line = crlf | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[*.tsv] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
name: build | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
name: ${{ matrix.name }} | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: 'check' | ||
python: '3.11' | ||
toxpython: 'python3.11' | ||
tox_env: 'check' | ||
os: 'ubuntu-latest' | ||
- name: 'docs' | ||
python: '3.11' | ||
toxpython: 'python3.11' | ||
tox_env: 'docs' | ||
os: 'ubuntu-latest' | ||
- name: 'py38 (ubuntu)' | ||
python: '3.8' | ||
toxpython: 'python3.8' | ||
python_arch: 'x64' | ||
tox_env: 'py38' | ||
os: 'ubuntu-latest' | ||
- name: 'py38 (windows)' | ||
python: '3.8' | ||
toxpython: 'python3.8' | ||
python_arch: 'x64' | ||
tox_env: 'py38' | ||
os: 'windows-latest' | ||
- name: 'py38 (macos)' | ||
python: '3.8' | ||
toxpython: 'python3.8' | ||
python_arch: 'x64' | ||
tox_env: 'py38' | ||
os: 'macos-latest' | ||
- name: 'py39 (ubuntu)' | ||
python: '3.9' | ||
toxpython: 'python3.9' | ||
python_arch: 'x64' | ||
tox_env: 'py39' | ||
os: 'ubuntu-latest' | ||
- name: 'py39 (windows)' | ||
python: '3.9' | ||
toxpython: 'python3.9' | ||
python_arch: 'x64' | ||
tox_env: 'py39' | ||
os: 'windows-latest' | ||
- name: 'py39 (macos)' | ||
python: '3.9' | ||
toxpython: 'python3.9' | ||
python_arch: 'x64' | ||
tox_env: 'py39' | ||
os: 'macos-latest' | ||
- name: 'py310 (ubuntu)' | ||
python: '3.10' | ||
toxpython: 'python3.10' | ||
python_arch: 'x64' | ||
tox_env: 'py310' | ||
os: 'ubuntu-latest' | ||
- name: 'py310 (windows)' | ||
python: '3.10' | ||
toxpython: 'python3.10' | ||
python_arch: 'x64' | ||
tox_env: 'py310' | ||
os: 'windows-latest' | ||
- name: 'py310 (macos)' | ||
python: '3.10' | ||
toxpython: 'python3.10' | ||
python_arch: 'x64' | ||
tox_env: 'py310' | ||
os: 'macos-latest' | ||
- name: 'py311 (ubuntu)' | ||
python: '3.11' | ||
toxpython: 'python3.11' | ||
python_arch: 'x64' | ||
tox_env: 'py311' | ||
os: 'ubuntu-latest' | ||
- name: 'py311 (windows)' | ||
python: '3.11' | ||
toxpython: 'python3.11' | ||
python_arch: 'x64' | ||
tox_env: 'py311' | ||
os: 'windows-latest' | ||
- name: 'py311 (macos)' | ||
python: '3.11' | ||
toxpython: 'python3.11' | ||
python_arch: 'x64' | ||
tox_env: 'py311' | ||
os: 'macos-latest' | ||
- name: 'py312 (ubuntu)' | ||
python: '3.12' | ||
toxpython: 'python3.12' | ||
python_arch: 'x64' | ||
tox_env: 'py312' | ||
os: 'ubuntu-latest' | ||
- name: 'py312 (windows)' | ||
python: '3.12' | ||
toxpython: 'python3.12' | ||
python_arch: 'x64' | ||
tox_env: 'py312' | ||
os: 'windows-latest' | ||
- name: 'py312 (macos)' | ||
python: '3.12' | ||
toxpython: 'python3.12' | ||
python_arch: 'x64' | ||
tox_env: 'py312' | ||
os: 'macos-latest' | ||
- name: 'pypy38 (ubuntu)' | ||
python: 'pypy-3.8' | ||
toxpython: 'pypy3.8' | ||
python_arch: 'x64' | ||
tox_env: 'pypy38' | ||
os: 'ubuntu-latest' | ||
- name: 'pypy38 (windows)' | ||
python: 'pypy-3.8' | ||
toxpython: 'pypy3.8' | ||
python_arch: 'x64' | ||
tox_env: 'pypy38' | ||
os: 'windows-latest' | ||
- name: 'pypy38 (macos)' | ||
python: 'pypy-3.8' | ||
toxpython: 'pypy3.8' | ||
python_arch: 'x64' | ||
tox_env: 'pypy38' | ||
os: 'macos-latest' | ||
- name: 'pypy39 (ubuntu)' | ||
python: 'pypy-3.9' | ||
toxpython: 'pypy3.9' | ||
python_arch: 'x64' | ||
tox_env: 'pypy39' | ||
os: 'ubuntu-latest' | ||
- name: 'pypy39 (windows)' | ||
python: 'pypy-3.9' | ||
toxpython: 'pypy3.9' | ||
python_arch: 'x64' | ||
tox_env: 'pypy39' | ||
os: 'windows-latest' | ||
- name: 'pypy39 (macos)' | ||
python: 'pypy-3.9' | ||
toxpython: 'pypy3.9' | ||
python_arch: 'x64' | ||
tox_env: 'pypy39' | ||
os: 'macos-latest' | ||
- name: 'pypy310 (ubuntu)' | ||
python: 'pypy-3.10' | ||
toxpython: 'pypy3.10' | ||
python_arch: 'x64' | ||
tox_env: 'pypy310' | ||
os: 'ubuntu-latest' | ||
- name: 'pypy310 (windows)' | ||
python: 'pypy-3.10' | ||
toxpython: 'pypy3.10' | ||
python_arch: 'x64' | ||
tox_env: 'pypy310' | ||
os: 'windows-latest' | ||
- name: 'pypy310 (macos)' | ||
python: 'pypy-3.10' | ||
toxpython: 'pypy3.10' | ||
python_arch: 'x64' | ||
tox_env: 'pypy310' | ||
os: 'macos-latest' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
architecture: ${{ matrix.python_arch }} | ||
- name: install dependencies | ||
run: | | ||
python -mpip install --progress-bar=off -r ci/requirements.txt | ||
virtualenv --version | ||
pip --version | ||
tox --version | ||
pip list --format=freeze | ||
- name: test | ||
env: | ||
TOXPYTHON: '${{ matrix.toxpython }}' | ||
run: > | ||
tox -e ${{ matrix.tox_env }} -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
*.py[cod] | ||
__pycache__ | ||
|
||
# Temp files | ||
.*.sw[po] | ||
*~ | ||
*.bak | ||
.DS_Store | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Build and package files | ||
*.egg | ||
*.egg-info | ||
.bootstrap | ||
.build | ||
.cache | ||
.eggs | ||
.env | ||
.installed.cfg | ||
.ve | ||
bin | ||
build | ||
develop-eggs | ||
dist | ||
eggs | ||
lib | ||
lib64 | ||
parts | ||
pip-wheel-metadata/ | ||
pyvenv*/ | ||
sdist | ||
var | ||
venv*/ | ||
wheelhouse | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.benchmarks | ||
.coverage | ||
.coverage.* | ||
.pytest | ||
.pytest_cache/ | ||
.tox | ||
coverage.xml | ||
htmlcov | ||
nosetests.xml | ||
|
||
# Translations | ||
*.mo | ||
|
||
# Buildout | ||
.mr.developer.cfg | ||
|
||
# IDE project files | ||
*.iml | ||
*.komodoproject | ||
.idea | ||
.project | ||
.pydevproject | ||
.vscode | ||
|
||
# Complexity | ||
output/*.html | ||
output/*/index.html | ||
|
||
# Sphinx | ||
docs/_build | ||
|
||
# Mypy Cache | ||
.mypy_cache/ |
Oops, something went wrong.