1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

12 commits

Author SHA1 Message Date
Kyrylo Silin
18c45d26c5 rubocop: enable the Style/FrozenStringLiteralComment cop
This will greatly ease Pry support on Ruby 3.0 (when it's out).
2019-05-08 00:13:17 +03:00
Kyrylo Silin
5ceb7ff04a rubocop: fix Naming/MemoizedInstanceVariableName offences 2019-03-24 15:14:20 +02:00
Kyrylo Silin
dcd08e08c5 rubocop: fix offences of the Style/GuardClause cop 2019-03-23 02:37:09 +02:00
Kyrylo Silin
edaa1383f2 Require files from pry.rb; deps from each file that uses them
This change brings some order to how we require files. Previously, we required
app files from everywhere, including pry.rb. Now we require app files only from
pry.rb.

External and stdlib dependencies are required at places where they're used, not
globally.
2019-03-10 13:20:03 +02:00
Kyrylo Silin
4956376f13 rubocop: fix offences of the Metrics/LineLength cop
I realise that some code might be less readable now, but now that we set a good
default limit, we protect the codebase from further mess. It's important to do
this to prevent adding more mess to already messy code that we have. :doctor:
2019-03-03 17:37:58 +02:00
Kyrylo Silin
aa803c8695 rubocop: fix offences of the Style/NegatedIf cop 2019-03-02 13:04:46 +02:00
Kyrylo Silin
fad7827ddb rubocop: fix offences of the Style/Alias cop 2019-02-27 01:00:16 +02:00
Kyrylo Silin
48b6a9c3b4 rubocop: fix offences of Layout/EmptyLinesAroundClassBody cop 2018-11-04 16:50:21 +08:00
Arlandis Word
59e7afd40b Fix rubocop empty line after guard clause style violations 2018-10-14 09:44:58 -04:00
Kyrylo Silin
4cc13f9a40 rubocop: fix offences of the Layout/ExtraSpacing cop 2018-10-13 00:54:00 +08:00
robert
f35957d42f fix Forwardable warnings in WrappedModule/Candidate 2017-06-03 13:40:24 +01:00
Kyrylo Silin
6a690e162e wrapped_module:candidate: reflect the directory structure accordingly
According to our code base, we use the convention, which says that if a
class is nested, it should also be reflected in the directory structure.
2015-02-27 03:04:12 +02:00