Skip to content

Add reading and writing camera file #15

Add reading and writing camera file

Add reading and writing camera file #15

Workflow file for this run

name: Lint_python
on:
push:
branches: [main]
tags:
pull_request:
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.13
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint flake8 numpy importlib dataclasses
- name: Analysing the code with pylint
run: |
pylint pink_lady.py src/reader/camera/reader_camera.py src/reader/orientation/manage_reader.py src/reader/orientation/reader_opk.py src/datastruct/shot.py src/datastruct/worksite.py src/datastruct/camera.py src/writer/writer_opk.py
- name: Analysing the code with flake8
run: |
flake8 --max-line-length 100 pink_lady.py src/reader/camera/reader_camera.py src/reader/orientation/manage_reader.py src/reader/orientation/reader_opk.py src/datastruct/shot.py src/datastruct/worksite.py src/datastruct/camera.py src/writer/writer_opk.py