Skip to content

Commit d15d6b8

Browse files
Improvecode (#2558)
* Version in Appveyor * Improve coverage test report * Fix code bug detected by Sonar * Fix coverage.xml location in sonar configuration * Code cleaning with suggestions from PyCharm and Sonar * Improve coverage reporting * Improve quality of code in Text Editor * Improve code with suggestions from Sonar * Set pythonpath if not set
1 parent 0904968 commit d15d6b8

File tree

10 files changed

+343
-378
lines changed

10 files changed

+343
-378
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#---------------------------------#
44

55
# version format
6-
version: 2.0b3.{build}
6+
version: 2.0.{build}
77

88
# branches to build
99
branches:

.coveragerc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
[run]
2+
# include = ./src/*
3+
source = ./src
4+
branch = True
25
omit =
36
# omit anything in a .local directory anywhere
47
*/.local/*
58
# omit everything in /usr
69
/usr/*
710
# omit utest
811
./utest/*
12+
# robot library
13+
./src/robotide/lib/robot/*
14+
*/.venv/*
15+
16+
[report]
17+
skip_empty = True
18+
19+
[xml]
20+
output = ./.coverage-reports/coverage.xml
21+
22+
[html]
23+
directory = ./.coverage-reports/htmlcov
24+

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sonar.python.version=3
55
sonar.sources=src
66
sonar.dynamicAnalysis=reuseReports
77
sonar.core.codeCoveragePlugin=cobertura
8-
sonar.python.coverage.reportPaths=*coverage*.xml
8+
sonar.python.coverage.reportPaths=.coverage-reports/*coverage*.xml
99
sonar.python.xunit.skipDetails=true
1010
sonar.scm.provider=git
1111

src/robotide/application/CHANGELOG.html

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Changelog</title><link rel="stylesheet" type="text/css" href="docbook-xsl.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head><body><div xml:lang="en" class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a id="idm45705250627504"></a>Changelog</h2></div></div><hr /></div>
3-
<p>All notable changes to this project will be documented in this file.</p><p>The format is based on <a class="ulink" href="http://keepachangelog.com/en/1.0.0/" target="_top">Keep a Changelog</a>
4-
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html" target="_top">Semantic Versioning</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_0_rst_2_0_ulink_2023_03_01"></a>1. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.rst" target="_top">2.0</a> - 2023-03-01</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div><pre class="literallayout"> (2.0rc1 - 2023-02-26)
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
5+
<head>
6+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7+
<title>Changelog</title>
8+
<link rel="stylesheet" type="text/css" href="docbook-xsl.css" />
9+
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /></head>
10+
<body>
11+
<div xml:lang="en" class="article" lang="en">
12+
<div class="titlepage">
13+
<div><div><h2 class="title"><a id="idm45705250627504"></a>Changelog</h2></div></div><hr /></div>
14+
<p>All notable changes to this project will be documented in this file.</p>
15+
<p>The format is based on <a class="ulink" href="http://keepachangelog.com/en/1.0.0/" target="_top">Keep a Changelog</a>
16+
and this project adheres to <a class="ulink" href="http://semver.org/spec/v2.0.0.html"
17+
target="_top">Semantic Versioning</a>.
18+
</p>
19+
<div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both">
20+
<a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_0_rst_2_0_ulink_2023_03_01">
21+
</a>1. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.rst"
22+
target="_top">2.0</a> - 2023-03-01</h2></div></div></div>
23+
<div class="section"><div class="titlepage">
24+
<div><div><h3 class="title"><a id="_added"></a>1.1. Added</h3></div></div></div>
25+
<pre class="literallayout"> (2.0rc1 - 2023-02-26)
526
- Minimal support to accept `*** Comments ***` sections (unfinished code)
627
- Added insert and delete cells to Text Editor, by using ``Ctrl-Shift-I`` and ``Ctrl-Shift-D``
728
- Added move up and move down rows to Text Editor, by using ``Alt-Up`` and ``Alt-Down``

0 commit comments

Comments
 (0)