Skip to content
View Tibot-ninja's full-sized avatar
💭
I may be slow to respond.
💭
I may be slow to respond.

Block or report Tibot-ninja

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Tibot-ninja/README.md

phython algorithms

This workflow will install Python dependencies, run tests and lint with a single version of Python

name: Python application

on: push: branches: [ master ] pull_request: branches: [ master ]

jobs: build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
  uses: actions/setup-python@v2
  with:
    python-version: "3.10"
- name: Install dependencies
  run: |
    python -m pip install --upgrade pip
    pip install flake8 pytest
    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: |
    python -m pytest

Popular repositories Loading

  1. Tibot-ninja Tibot-ninja Public

    Config files for my GitHub profile.

    Jupyter Notebook

  2. hamburger-barnacle hamburger-barnacle Public

    CSS

  3. TiborSio.Joemar TiborSio.Joemar Public

    CSS

  4. urban-barnacle urban-barnacle Public

  5. laughing-waddle laughing-waddle Public

    JavaScript