Add ruff configuration
Apply our standard set of rules from our cockpit projects, and fix some minor fallout: ``` test/check-application:7:1: I001 [*] Import block is un-sorted or un-formatted test/check-application:9:119: E501 Line too long (122 > 118 characters) ``` Run ruff in CI to ensure we don't break it.
This commit is contained in:
parent
4f688bfbf8
commit
ac77bafede
3 changed files with 48 additions and 2 deletions
|
|
@ -6,8 +6,10 @@
|
|||
|
||||
import testlib
|
||||
|
||||
# Nondestructive tests all run in the same running VM. This allows them to run in Packit, Fedora, and RHEL dist-git gating
|
||||
# They must not permanently change any file or configuration on the system in a way that influences other tests.
|
||||
|
||||
# Nondestructive tests all run in the same running VM. This allows them to run in Packit, Fedora, and
|
||||
# RHEL dist-git gating. They must not permanently change any file or configuration on the system in a
|
||||
# way that influences other tests.
|
||||
@testlib.nondestructive
|
||||
class TestApplication(testlib.MachineCase):
|
||||
def testBasic(self):
|
||||
|
|
|
|||
2
test/run
2
test/run
|
|
@ -12,3 +12,5 @@ export RUN_TESTS_OPTIONS=--track-naughties
|
|||
export LINT=1
|
||||
|
||||
make check
|
||||
|
||||
ruff check test/check*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue