Skip to content

Commit 466aad6

Browse files
final updates until PR
1 parent e0b1ae1 commit 466aad6

File tree

99 files changed

+6363
-5984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+6363
-5984
lines changed

.codecov.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
comment:
2-
layout: "reach, diff, flags, files"
3-
behavior: default
4-
require_changes: false # if true: only post the comment if coverage changes
5-
require_base: no # [yes :: must have a base report to post]
6-
require_head: yes # [yes :: must have a head report to post]
1+
.comment:
2+
layout: "reach, diff, flags, files" # Defines the layout of the comment posted by Codecov
3+
behavior: default # Sets the behavior of the comment (default, once, etc.)
4+
require_changes: false # Only post the comment if coverage changes (false means always post)
5+
require_base: no # Must have a base report to post (no means it's not required)
6+
require_head: yes # Must have a head report to post (yes means it's required)
77

88
coverage:
99
status:
1010
project:
1111
default:
12-
threshold: 1
12+
threshold: 1 # Minimum coverage percentage change needed to fail the check

.coveragerc

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
[run]
2-
source = pydriller
2+
source = gitanalyzer # Specify the main package to measure coverage for
33

44
[report]
5-
exclude_lines =
6-
if self.debug:
7-
pragma: no cover
8-
raise NotImplementedError
9-
if __name__ == .__main__.:
10-
exclude_also =
11-
@(abc\.)?abstractmethod
12-
ignore_errors = True
13-
include = */pydriller/*
14-
omit =
15-
tests/*
16-
*/__init__.py/*
5+
exclude_lines = # Lines to exclude from coverage reports
6+
if self.debug: # Exclude debug conditional lines
7+
pragma: no cover # Exclude lines marked explicitly to be not covered
8+
raise NotImplementedError # Exclude lines that raise NotImplementedError
9+
if __name__ == .__main__.: # Exclude script entry point check (note: this line seems to have a typo)
10+
11+
exclude_also = # Additional patterns to exclude from coverage
12+
@(abc\.)?abstractmethod # Exclude abstract methods, optionally prefixed by 'abc.'
13+
14+
ignore_errors = True # Continue generating reports even if some files are problematic
15+
16+
include = */gitanalyzer/* # Include all subdirectories within 'gitanalyzer' for coverage
17+
18+
omit = # Files or directories to omit from coverage data
19+
tests/* # Omit all files in the 'tests' directory
20+
*/__init__.py/* # Omit all '__init__.py' files in any directory

.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[flake8]
2+
# Display the source code generating the error
23
show-source = True
4+
# Count total number of errors and warnings
35
count = True
6+
# Show statistics of errors
47
statistics = True
8+
# Maximum allowed line length
59
max-line-length = 150
10+
# Directories and files to exclude from checks
611
exclude = .github,venv,build,dist,docs,test-repos,.venv,tmp.py

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/continuous-integration-workflow.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)