Skip to content

Commit 06c2d77

Browse files
committed
The base commit
1 parent 432be27 commit 06c2d77

Some content is hidden

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

45 files changed

+666
-912
lines changed

.editorconfig

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ indent_size = 4 # Default indentation size
1212
insert_final_newline = true # Make sure files end with a newline
1313
trim_trailing_whitespace = true # Remove trailing whitespace
1414

15-
[*.py]
15+
# JavaScript and TypeScript files
16+
[*.{js,ts,jsx,tsx}]
1617
max_line_length = 100
1718

1819
# Markdown files
@@ -24,6 +25,14 @@ trim_trailing_whitespace = false
2425
[*.sh]
2526
indent_size = 2
2627

28+
# JSON files
29+
[*.json]
30+
indent_size = 2
31+
2732
# YAML files
2833
[*.{yml,yaml}]
2934
indent_size = 2
35+
36+
# Python files
37+
[*.py]
38+
max_line_length = 100

.eslintrc.cjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
root: true,
3+
parser: "@typescript-eslint/parser",
4+
plugins: ["@typescript-eslint"],
5+
extends: [
6+
"eslint:recommended",
7+
"plugin:@typescript-eslint/recommended",
8+
"prettier",
9+
],
10+
env: {
11+
node: true,
12+
},
13+
rules: {
14+
"@typescript-eslint/no-unused-vars": [
15+
"error",
16+
{ argsIgnorePattern: "^_" },
17+
],
18+
},
19+
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@
6565

6666
# Exclude files from language stats (GitHub Linguist)
6767
*.ipynb linguist-vendored
68+
*.html linguist-vendored

.github/workflows/docs.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/lints.yml

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,44 @@
1-
name: Run Linter Checks
1+
name: Linting & Typechecking
22

33
on:
44
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- main
58
push:
9+
branches:
10+
- main
611
tags:
7-
- 'v*'
12+
- "v*"
813

914
permissions:
1015
contents: read
1116

1217
jobs:
13-
build:
18+
lint:
1419
runs-on: ubuntu-latest
15-
16-
strategy:
17-
matrix:
18-
# Define the Python versions check against
19-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
20-
2120
steps:
2221
- name: Checkout Repository
2322
uses: actions/checkout@v4
24-
25-
- name: Set Up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v4
23+
- name: Set up Node.js
24+
uses: actions/setup-node@v4
2725
with:
28-
python-version: ${{ matrix.python-version }}
29-
26+
node-version: "20.x"
3027
- name: Install Dependencies
31-
run: |
32-
make setup
33-
make install
28+
run: make install
29+
- name: Run linter
30+
run: make lint
3431

35-
- name: Run Tests with Coverage
36-
run: |
37-
make lint
38-
continue-on-error: false
32+
typecheck:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout Repository
36+
uses: actions/checkout@v4
37+
- name: Set up Node.js
38+
uses: actions/setup-node@v4
39+
with:
40+
node-version: "20.x"
41+
- name: Install Dependencies
42+
run: make install
43+
- name: Run type checks
44+
run: make typecheck

.github/workflows/publish.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
1-
name: Run Tests
1+
name: Tests
22

33
on:
44
workflow_dispatch:
5-
workflow_call:
65
pull_request:
76
branches:
87
- main
9-
- develop
8+
push:
9+
branches:
10+
- main
11+
tags:
12+
- "v*"
1013

1114
permissions:
1215
contents: read
1316

1417
jobs:
15-
build:
18+
test:
1619
runs-on: ubuntu-latest
17-
1820
strategy:
1921
matrix:
20-
# Define the Python versions to test against
21-
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
22+
node-version: ["20.x", "22.x"]
2223

2324
steps:
2425
- name: Checkout Repository
2526
uses: actions/checkout@v4
2627

27-
- name: Set Up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v4
28+
- name: Set up Node.js ${{ matrix.node-version }}
29+
uses: actions/setup-node@v4
2930
with:
30-
python-version: ${{ matrix.python-version }}
31+
node-version: ${{ matrix.node-version }}
3132

3233
- name: Install Dependencies
33-
run: |
34-
make setup
35-
make install
34+
run: make install
3635

3736
- name: Run Tests with Coverage
38-
run: |
39-
make test
37+
run: make coverage
4038

4139
- name: Upload coverage reports to Codecov
42-
uses: codecov/codecov-action@v5
40+
uses: codecov/codecov-action@v4
4341
with:
4442
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)