Skip to content

Commit

Permalink
Pylint check
Browse files Browse the repository at this point in the history
  • Loading branch information
graziaperna committed Dec 2, 2023
1 parent d611fc9 commit b38aaa0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pylint_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pylint

on: [push, pull_request, merge_request]


jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- name: Set up Python
uses: actions/checkout@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Running Pylint
run: |
pylint src/ --output-format=json:pylint_report.json, colorized
- name: Upload Pylint Artifact
uses: actions/upload-artifact@v3
with:
name: pylint-report
path: pylint_report.json
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Detection Of Online Sexism
==============================
![status-badge](https://github.com/se4ai2324-uniba/DetectionOfOnlineSexism/actions/workflows/pylint_check.yaml/badge.svg?branch=feature-1)

The project described in this documentation has been developed for the "SemEval 2023 - Task 10 - Explainable Detection of Online Sexism (EDOS)" challenge on CodaLab by Grazia Perna and Maria Elena Zaza in which two models have been implemented.

Expand Down

0 comments on commit b38aaa0

Please sign in to comment.