Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
bda624b
test: fixed test dependencies and execution
Apr 18, 2026
4d9d784
build: remove redundant Path import handling
Apr 18, 2026
148fb7a
style: hide implementation details
Apr 18, 2026
1cb8ffe
build: modernize project configuration
Apr 19, 2026
9f9c6ee
build: switch to src-layout
Apr 19, 2026
42fc07b
build: add uv.lock to VCS
Apr 19, 2026
554ff17
test: decrease allowed coverage level to 10%
Apr 19, 2026
a2e27b5
build: ignore docs/site
Apr 19, 2026
b2984c9
docs: fix ignoring folder
Apr 19, 2026
6a2c7ab
style: ruff auto fix
Apr 19, 2026
7ac7d11
style: fix some ruff warnings
Apr 19, 2026
65c7d32
style: ignore present ruff errors
Apr 19, 2026
8b10ac4
test: add test for multiline transformation specification
Apr 19, 2026
8549bf3
test: add conftest.py and fix justfile
Apr 19, 2026
4c7939b
ci: adopt GHA test
Apr 19, 2026
605fb3d
ci: add Python 3.11 to GHA tests
Apr 19, 2026
687fdef
ci: remove fork branch from GHA test triggers
Apr 19, 2026
bf00fd1
ci: add concurrency guard
Apr 19, 2026
0f5836b
docs: fix documentaion building and autoserve
Apr 20, 2026
fe354f0
build: add 'just' installation script
Apr 20, 2026
2271d8d
build: add uv installation script
Apr 20, 2026
f7a06c3
build: remove unused files
Apr 20, 2026
30c1bdd
build: remove unused files
Apr 20, 2026
62f5d02
test: reimplemented travis tests in pytest module
Apr 21, 2026
ec4f904
test: fix windows <CR> reading
Apr 21, 2026
4f24cf4
test: explicitly use utf8 on Windows
Apr 21, 2026
af51a3b
build: fix git warnings
Apr 21, 2026
debc124
test: fixin <CR>...
Apr 21, 2026
3686da1
test: fixin <CR>... 2
Apr 21, 2026
e0250cd
test: fixin <CR>... 3
Apr 21, 2026
833935b
test: fixin <CR>... 4
Apr 21, 2026
6a8b69a
test: fixing <CR>... 5
Apr 21, 2026
8e0da51
test: fixing <CR>... 6
Apr 21, 2026
715f8d5
test: fixing <CR>... 7
Apr 21, 2026
ba0a39e
style: add pyreverse & symilar
Apr 21, 2026
49c849d
build: fix 'just clean' command
Apr 22, 2026
e55f4d2
test: better diangostics on different texts
Apr 22, 2026
3c87ad4
test: add tests bottom up
Apr 22, 2026
7edb20b
refact: move get_numbers to parser module
Apr 23, 2026
ad91143
test: increasing coverage of parser module
Apr 23, 2026
a65e8ce
fix: are_close_lists
Apr 24, 2026
427da34
test: remove <CR> from test texts
Apr 24, 2026
d363ed9
test: remove <CR> from test texts
Apr 24, 2026
d26ca0a
test: remove xfail for Windows
Apr 24, 2026
c23d049
test: return xfail for Windows
Apr 24, 2026
e86d2de
test: remove xfail for Windows - this time correct one
Apr 24, 2026
7c7df59
test: encoding detection fails on short texts
Apr 24, 2026
6a5e61c
test: setup xdoctest
Apr 24, 2026
76312a1
docs: _parse_tr, _get_int
Apr 24, 2026
f0df992
docs: documenting Card class
Apr 25, 2026
fa82d3e
fix: restore help output
Apr 25, 2026
765cd18
style: exclued data dirs from 'ruff' checks
Apr 25, 2026
5f05f55
fix: LIKE cell
Apr 25, 2026
dc0a4d3
build: remove unused MANIFEST.in
Apr 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .coveragerc

This file was deleted.

1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source ./.venv/bin/activate
24 changes: 16 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
#
# Special handling for binary files
# See https://git-scm.com/book/tr/v2/Customizing-Git-Git-Attributes
# Install doc2txt https://sourceforge.net/projects/docx2txt/?source=navbar
# See https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes
#
*.npz binary
*.xz binary
*.zip binary
*.bz2 binary
*.dll binary
*.docx binary
*.duckdb binary
*.gz binary
*.npy binary
*.docx binary
#*.docx binary diff=word
*.npz binary
*.png binary
#*.png diff=exif
*.so binary
*.dll binary
*.pyd binary
*.sqlite binary
*.nc binary
*.parquet binary
*.xlsx binary
*.xz binary
*.zip binary
# SCM syntax highlighting & preventing 3-way merges
uv.lock merge=binary linguist-language=TOML linguist-generated=true
65 changes: 41 additions & 24 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,54 @@
name: Python application

on:
workflow_dispatch:

push:
branches: [ "master" ]
branches: ["master", "devel"]
pull_request:
branches: [ "master" ]
branches: ["master", "devel"]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/master' || github.sha }}
cancel-in-progress: true

permissions:
contents: read

env:
DEFAULT_PYTHON: "3.13"
UV_LINK_MODE: "copy"

jobs:
build:

runs-on: ubuntu-latest
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
include:
- os: windows-latest
python-version: "3.13" # Windows runner is too slow

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest six chardet
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Lint with flake8
# run: |
# # stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
cd tests
pytest
- name: ✅ Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: 📦 Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: |
**/uv.lock
**/pyproject.toml

- name: 🐍 Install the project
run: uv sync --all-extras --no-dev --group test

- name: ✅ Run tests
run: |
uv run --no-dev --group test pytest --cov --cov-report term-missing:skip-covered --cov-report xml
16 changes: 10 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Python setup folders
build/
*.egg-info
numjuggler/version.py
src/numjuggler/version.py

# Byte-compiled
*.pyc
Expand All @@ -14,6 +14,7 @@ numjuggler/version.py
# Environments
.cache/
.idea/
.vscode/

# Dev.scripts results
numjuggler.dot
Expand All @@ -26,9 +27,12 @@ numjuggler.sfood2
.coverage
htmlcov/

# Travis tests
travis_tests/*.diff
travis_tests/*.res
# pyreverse
*_numjuggler.puml
*_numjuggler.html

# docs
site
.docs-build


# vs code
settings.json
Loading