Skip to content

Commit

Permalink
Change: replace added __all__ with ignore qa comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasHargarter committed Aug 7, 2024
1 parent 1f3435d commit ed0bd52
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
21 changes: 7 additions & 14 deletions troubadix/helper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from .helper import get_path_from_root, get_root, is_ignore_file, subprocess_cmd
from .patterns import (
from .helper import ( # noqa: F401
get_path_from_root,
get_root,
is_ignore_file,
subprocess_cmd,
)
from .patterns import ( # noqa: F401
ScriptTag,
SpecialScriptTag,
get_common_tag_patterns,
Expand All @@ -26,15 +31,3 @@

# js: can we get this to utf-8 in future @scanner @feed?
CURRENT_ENCODING = "latin1" # currently default

__all__ = [
"get_path_from_root",
"get_root",
"is_ignore_file",
"subprocess_cmd",
"ScriptTag",
"SpecialScriptTag",
"get_common_tag_patterns",
"get_script_tag_pattern",
"get_special_script_tag_pattern",
]
18 changes: 5 additions & 13 deletions troubadix/standalone_plugins/changed_packages/marker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from .added_epoch import AddedEpoch
from .added_release import AddedRelease
from .added_udeb import AddedUdeb
from .changed_update import ChangedUpdate
from .dropped_architecture import DroppedArchitecture

__all__ = [
"AddedEpoch",
"AddedRelease",
"AddedUdeb",
"ChangedUpdate",
"DroppedArchitecture",
]
from .added_epoch import AddedEpoch # noqa: F401
from .added_release import AddedRelease # noqa: F401
from .added_udeb import AddedUdeb # noqa: F401
from .changed_update import ChangedUpdate # noqa: F401
from .dropped_architecture import DroppedArchitecture # noqa: F401

0 comments on commit ed0bd52

Please sign in to comment.