diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32f8a279b77c0ee6798a6f1ba08723dc2df419f0..46d6c2f57eb04c13d580e96b3786c541b9ec2356 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,3 @@ -Python 2.6: - script: - - py_version=2.6 - - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - - export REQUIREMENTS_TXT=requirements.dev.txt - - ". ./build-and-test-py-project.sh" - tags: - - python2.6 - - linux - except: - - tags - artifacts: - reports: - junit: test/pytest.xml - Python 2.6: script: - py_version=2.6 @@ -43,29 +28,14 @@ Python 2.7: reports: junit: test/pytest.xml -Python 3.6: - script: - - py_version=3.6 - - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - - export REQUIREMENTS_TXT=requirements.dev.txt - - ". ./build-and-test-py-project.sh" - tags: - - python3.6 - - linux - except: - - tags - artifacts: - reports: - junit: test/pytest.xml - -Python 3.7: +Python 3: script: - - py_version=3.7 + - py_version=3 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - export REQUIREMENTS_TXT=requirements.dev.txt - ". ./build-and-test-py-project.sh" tags: - - python3.7 + - python3 - linux except: - tags @@ -78,7 +48,7 @@ Flake8: - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh - ". ./prepare-and-run-flake8.sh pudb test" tags: - - python3.5 + - python3 except: - tags @@ -88,6 +58,6 @@ Documentation: - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh - ". ./build-docs.sh" tags: - - python3.5 + - python3 only: - master diff --git a/pudb/settings.py b/pudb/settings.py index 2f2f1f6a05484ef00a30bb83d2969626ebd494cc..98a9f5ba4ea99801b4e2ac7823f499da191d2974 100644 --- a/pudb/settings.py +++ b/pudb/settings.py @@ -159,7 +159,7 @@ def edit_config(ui, conf_dict): def _update_line_numbers(): for sl in ui.source: - sl._invalidate() + sl._invalidate() def _update_prompt_on_quit(): pass