Skip to content

Commit

Permalink
pylint: import order
Browse files Browse the repository at this point in the history
  • Loading branch information
lhupfeldt committed Feb 6, 2021
1 parent bd7a16a commit 75b4afe
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion cli/set_build_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import click

from ..utils import set_build_description as usbd
from jenkinsflow.utils import set_build_description as usbd


@click.command()
Expand Down
3 changes: 1 addition & 2 deletions demo/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
# Just a simple flow

from __future__ import print_function
import demo_setup
demo_setup.sys_path()

from jenkinsflow.flow import serial

import demo_security as security


Expand Down
9 changes: 4 additions & 5 deletions demo/calculated_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@
import logging
from collections import OrderedDict

import demo_setup
demo_setup.sys_path()

from jenkinsflow.flow import serial
from jenkinsflow.unbuffered import UnBuffered

import demo_security as security


# Unbuffered output does not work well in Jenkins/Hudson, so in case
# this is run from a jenkins/hudson job, we want unbuffered output
sys.stdout = UnBuffered(sys.stdout)

import demo_security as security


def main(api):
logging.basicConfig()
Expand Down
9 changes: 0 additions & 9 deletions demo/demo_setup.py

This file was deleted.

3 changes: 0 additions & 3 deletions demo/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# Copyright (c) 2012 - 2015 Lars Hupfeldt Nielsen, Hupfeldt IT
# All rights reserved. This work is under a BSD license, see LICENSE.TXT.

import demo_setup
demo_setup.sys_path()

from jenkinsflow.flow import serial
import demo_security as security

Expand Down
4 changes: 1 addition & 3 deletions demo/hide_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
# Copyright (c) 2012 - 2015 Lars Hupfeldt Nielsen, Hupfeldt IT
# All rights reserved. This work is under a BSD license, see LICENSE.TXT.

import demo_setup
demo_setup.sys_path()

from jenkinsflow.flow import serial

import demo_security as security


Expand Down
1 change: 1 addition & 0 deletions demo/jenkinsflow
3 changes: 0 additions & 3 deletions demo/prefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# Copyright (c) 2012 - 2015 Lars Hupfeldt Nielsen, Hupfeldt IT
# All rights reserved. This work is under a BSD license, see LICENSE.TXT.

import demo_setup
demo_setup.sys_path()

from jenkinsflow.flow import serial
import demo_security as security

Expand Down

0 comments on commit 75b4afe

Please sign in to comment.