Showing 2,704 of 2,705 total issues
unexpected token tSTRING_BEG
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
ln -s %{prefix}/ruby-%{version} $RPM_BUILD_ROOT%{prefix}/ruby-%{version}
- Exclude checks
-' interpreted as argument prefix
(Using Ruby 2.1 parser; configure using
TargetRubyVersionparameter, under
AllCops`) Open
Open
test -f $RPM_SOURCE_DIR/Python-%{version}.tgz || ( cd $RPM_SOURCE_DIR && curl -O https://www.python.org/ftp/python/%{version}/Python-%{version}.tgz )
- Exclude checks
-' interpreted as argument prefix
(Using Ruby 2.1 parser; configure using
TargetRubyVersionparameter, under
AllCops`) Open
Open
rm -f $RPM_BUILD_ROOT/usr/local/bin/ruby
- Exclude checks
unexpected token tCOLON
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
Name: muthon
- Exclude checks
unexpected token tRCURLY
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
ln -s %{prefix}/Python-%{version} $RPM_BUILD_ROOT%{prefix}/Python-%{version}
- Exclude checks
unexpected token tCOLON
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
BuildRequires: tcl-devel
- Exclude checks
%build: unknown type of percent-literal
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
%build
- Exclude checks
-' interpreted as argument prefix
(Using Ruby 2.1 parser; configure using
TargetRubyVersionparameter, under
AllCops`) Open
Open
sed -i "s/sqlite_inc_paths = \[ '\/usr\/include'/sqlite_inc_paths = \[ '\/usr\/local\/sqlite-current\/include'/" setup.py
- Exclude checks
Avoid rescuing the Exception
class. Perhaps you meant to rescue StandardError
? Open
Open
rescue Exception => e
MU.log e.message, MU::ERR
exitcode = 1
- Read upRead up
- Exclude checks
This cop checks for rescue blocks targeting the Exception class.
Example:
# bad
begin
do_something
rescue Exception
handle_exception
end
Example:
# good
begin
do_something
rescue ArgumentError
handle_exception
end
Useless assignment to variable - pwd
. Open
Open
pwd = Dir.pwd
- Read upRead up
- Exclude checks
This cop checks for every useless assignment to local variable in every
scope.
The basic idea for this cop was from the warning of ruby -cw
:
assigned but unused variable - foo
Currently this cop has advanced logic that detects unreferenced reassignments and properly handles varied cases such as branch, loop, rescue, ensure, etc.
Example:
# bad
def some_method
some_var = 1
do_something
end
Example:
# good
def some_method
some_var = 1
do_something(some_var)
end
unexpected token tCOLON
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
Summary: SQLite for Mu on RHEL6-compatible systems
- Exclude checks
%description: unknown type of percent-literal
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
%description
- Exclude checks
unexpected token tSTRING_BEG
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
rm -rf %{prefix}
- Exclude checks
unexpected token tRCURLY
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
mkdir -p $RPM_BUILD_ROOT%{prefix}
- Exclude checks
-' interpreted as argument prefix
(Using Ruby 2.1 parser; configure using
TargetRubyVersionparameter, under
AllCops`) Open
Open
mkdir -p %{prefix}/sqlite-%{version}
- Exclude checks
unexpected token tCOLON
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
BuildRequires: openssl
- Exclude checks
%prep: unknown type of percent-literal
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
%prep
- Exclude checks
-' interpreted as argument prefix
(Using Ruby 2.1 parser; configure using
TargetRubyVersionparameter, under
AllCops`) Open
Open
./configure --prefix=%{prefix}/ruby-%{version} --enable-load-relative --enable-shared
- Exclude checks
unexpected token tSTRING_BEG
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
mkdir -p %{prefix}
- Exclude checks
unexpected token tCOLON
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
Version: 3.8.3
- Exclude checks