Skip to content

Commit 2cedd82

Browse files
committed
chore: Revamp project.
- Updates for pyproject.toml setup. - Drop threejs plot. - Update pyntcloud_ci. Rename to tests.yaml
1 parent cab0c7f commit 2cedd82

Some content is hidden

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

85 files changed

+58
-3141
lines changed

.flake8

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

.github/workflows/codeql.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,33 @@
1-
name: pyncloud C.I.
1+
name: Tests
22

33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77
push:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
build:
1313

1414
strategy:
1515
max-parallel: 4
1616
matrix:
17-
python-version: [3.7, 3.8, 3.9]
17+
python-version: [3.11, 3.12, 3.13]
1818
platform: [ubuntu-latest, macos-latest, windows-latest]
1919
runs-on: ${{ matrix.platform }}
2020

2121
steps:
22-
- uses: actions/checkout@v1
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v1
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install -r requirements.txt
27+
cache: "pip"
3128
- name: Install pyntcloud
3229
run: |
33-
pip install .
34-
- name: Lint with flake8
35-
run: |
36-
pip install flake8
37-
# stop the build if there are Python syntax errors or undefined names
38-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
30+
pip install ".[all]"
4131
- name: Test and coverage with pytest
4232
run: |
4333
pip install pytest
@@ -47,7 +37,7 @@ jobs:
4737
pytest --cov=pyntcloud --cov-report=xml --cov-append tests/integration
4838

4939
- name: Upload coverage to Codecov
50-
if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.7'
40+
if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11'
5141
run: bash <(curl -s https://codecov.io/bash) -t $TOKEN -B $REF
5242
env:
5343
TOKEN: "${{ secrets.CODECOV_TOKEN }}"

MANIFEST.in

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

pyntcloud/plot/assets/Detector.js

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

0 commit comments

Comments
 (0)