gut-space / satnogs

The goal of this project is to create a functional satellite ground station, able to receive VHF transmissions from NOAA sats and more!
https://aquarius.klub.com.pl
MIT License
10 stars 0 forks source link

flake8 failure: undefined name 'VersionNotSetError' #54

Closed tomaszmrugalski closed 4 years ago

tomaszmrugalski commented 4 years ago

I've did some experiments with github actions. I've added an action to test python app. You can inspect it by clicking Actions on the main repo page. Here's the error being reported:

Run pip install flake8
Collecting flake8
  Downloading flake8-3.7.9-py2.py3-none-any.whl (69 kB)
Collecting mccabe<0.7.0,>=0.6.0
  Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting pycodestyle<2.6.0,>=2.5.0
  Downloading pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB)
Collecting entrypoints<0.4.0,>=0.3.0
  Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting pyflakes<2.2.0,>=2.1.0
  Downloading pyflakes-2.1.1-py2.py3-none-any.whl (59 kB)
Installing collected packages: mccabe, pycodestyle, entrypoints, pyflakes, flake8
Successfully installed entrypoints-0.3 flake8-3.7.9 mccabe-0.6.1 pycodestyle-2.5.0 pyflakes-2.1.1
./server/app/repository.py:342:19: F821 undefined name 'VersionNotSetError'
            raise VersionNotSetError()
                  ^
1     F821 undefined name 'VersionNotSetError'

Details here

fivitti commented 4 years ago

Yes, yes, I saw this bug. I fix it in my next PR.