Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
39d51b3
code upgraded to python 3
tmatos Jan 29, 2026
2650f64
CI: pyliny job on python 3
tmatos Jan 29, 2026
469118a
add all missing docstrings
tmatos Jan 30, 2026
9a508ef
remove all unnecessary parens
tmatos Jan 30, 2026
69211d4
adjust module to snake_case naming style
tmatos Jan 30, 2026
898ba71
rename a couple of const names
tmatos Jan 30, 2026
aa786f6
rename module
tmatos Jan 30, 2026
d67ede3
enforcing snake_case naming style
tmatos Jan 30, 2026
d38a77e
refactor: extract code to method inside a class
tmatos Jan 31, 2026
ddc2880
refactor: extract func envia_mensagem
tmatos Jan 31, 2026
6ae4a33
refactor: rename and delete some vars
tmatos Jan 31, 2026
647d063
rename module
tmatos Jan 31, 2026
441fc92
remove global var def when not needed
tmatos Jan 31, 2026
9e22e33
comment out an unused var
tmatos Jan 31, 2026
b46b4a2
break very long lines
tmatos Feb 4, 2026
794697b
specify encoding when opening files
tmatos Feb 4, 2026
5816973
acquiring and releasing the lock using 'with'
tmatos Feb 4, 2026
a79d5e2
opening all files under a 'with' scope
tmatos Feb 4, 2026
4b8e0e6
add AGPL License and update docs
tmatos Feb 5, 2026
64c8061
unnest if statement
tmatos Feb 5, 2026
d62c321
refactor: extract some funcs
tmatos Feb 5, 2026
a8a72b3
refactor: extract even more funcs
tmatos Feb 6, 2026
9a44023
extract func and minor syntax changes
tmatos Feb 6, 2026
589f091
refactor: extract two funcs
tmatos Feb 6, 2026
67b1feb
using fstrings more
tmatos Feb 6, 2026
4b7f8ed
extract func: 'trata_comando_tcp_saida'
tmatos Feb 7, 2026
f6e68db
extract func: 'trata_comando_tcp_executa'
tmatos Feb 7, 2026
684c9da
to ignore a couple of pylint warnings
tmatos Feb 7, 2026
bac4f64
print exception content
tmatos Feb 7, 2026
56678d1
disable 'broad-except' warning in pylint
tmatos Feb 8, 2026
d2327e4
disable 'fixme' warning in pylint
tmatos Feb 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 21 additions & 16 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
name: Pylint

on: [push]
on: [push, pull_request]

jobs:

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 2.7
run: |
sudo add-apt-repository universe
sudo apt update
sudo apt install -y python2
- name: Install dependencies
run: |
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
pip2 install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')

- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint

- name: Analyze the code with Pylint
run: |
pylint --output-format=colorized $(git ls-files '*.py')
6 changes: 0 additions & 6 deletions Definicoes.py

This file was deleted.

194 changes: 0 additions & 194 deletions Job.py

This file was deleted.

Loading