Skip to content

Commit

Permalink
Add check formatting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TrAyZeN committed Nov 22, 2024
1 parent 2dca15d commit df3d6f6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Check formatting
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./scadl ./tutorial"
- name: Check import sorting
uses: isort/isort-action@v1
with:
requirements-file: "requirements.txt"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from setuptools import setup, find_packages
from setuptools import find_packages, setup

setup(
name="scadl",
version="0.1",
description="A tool for state of the artr DL attacks",
description="A tool for state of the art deep learning based side-channel attacks",
author="Karim M. Abdellatif",
packages=find_packages(),
install_requires=["numpy", "keras", "matplotlib", "tqdm", "h5py"],
Expand Down

0 comments on commit df3d6f6

Please sign in to comment.