Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Jan 9, 2025
1 parent 655885b commit 7f13f74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
29 changes: 0 additions & 29 deletions .hlint.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Warnings currently triggered by your code
- ignore: {name: "Avoid NonEmpty.unzip"} # 1 hint
<<<<<<< HEAD
- ignore: {name: "Avoid lambda"} # 46 hints
- ignore: {name: "Avoid lambda using `infix`"} # 22 hints
- ignore: {name: "Eta reduce"} # 116 hints
=======
- ignore: {name: "Avoid lambda"} # 47 hints
- ignore: {name: "Avoid lambda using `infix`"} # 23 hints
- ignore: {name: "Eta reduce"} # 124 hints
>>>>>>> d165dfda4 (Bump hlint warning counts)
- ignore: {name: "Evaluate"} # 10 hints
- ignore: {name: "Functor law"} # 10 hints
- ignore: {name: "Fuse concatMap/map"} # 3 hints
Expand All @@ -22,19 +16,11 @@
- ignore: {name: "Monoid law, right identity"} # 3 hints
- ignore: {name: "Move filter"} # 4 hints
- ignore: {name: "Move guards forward"} # 4 hints
<<<<<<< HEAD
- ignore: {name: "Redundant $"} # 175 hints
- ignore: {name: "Redundant $!"} # 1 hint
- ignore: {name: "Redundant <$>"} # 16 hints
- ignore: {name: "Redundant =="} # 1 hint
- ignore: {name: "Redundant bracket"} # 232 hints
=======
- ignore: {name: "Redundant $"} # 178 hints
- ignore: {name: "Redundant $!"} # 1 hint
- ignore: {name: "Redundant <$>"} # 16 hints
- ignore: {name: "Redundant =="} # 1 hint
- ignore: {name: "Redundant bracket"} # 240 hints
>>>>>>> d165dfda4 (Bump hlint warning counts)
- ignore: {name: "Redundant fmap"} # 1 hint
- ignore: {name: "Redundant guard"} # 2 hints
- ignore: {name: "Redundant if"} # 3 hints
Expand Down Expand Up @@ -63,16 +49,8 @@
- ignore: {name: "Use concatMap"} # 1 hint
- ignore: {name: "Use const"} # 36 hints
- ignore: {name: "Use elem"} # 2 hints
<<<<<<< HEAD
- ignore: {name: "Use fewer imports"} # 19 hints
=======
>>>>>>> 217f08ac5 (Follow hlint suggestion: use fewer imports)
- ignore: {name: "Use first"} # 4 hints
<<<<<<< HEAD
- ignore: {name: "Use fmap"} # 24 hints
=======
- ignore: {name: "Use fmap"} # 25 hints
>>>>>>> d165dfda4 (Bump hlint warning counts)
- ignore: {name: "Use fold"} # 1 hint
- ignore: {name: "Use for"} # 1 hint
- ignore: {name: "Use forM_"} # 1 hint
Expand All @@ -88,11 +66,7 @@
- ignore: {name: "Use isNothing"} # 1 hint
- ignore: {name: "Use lambda-case"} # 47 hints
- ignore: {name: "Use lefts"} # 1 hint
<<<<<<< HEAD
- ignore: {name: "Use list comprehension"} # 16 hints
=======
- ignore: {name: "Use list comprehension"} # 19 hints
>>>>>>> d165dfda4 (Bump hlint warning counts)
- ignore: {name: "Use list literal"} # 3 hints
- ignore: {name: "Use list literal pattern"} # 11 hints
- ignore: {name: "Use map once"} # 7 hints
Expand Down Expand Up @@ -121,12 +95,9 @@

- arguments:
- --ignore-glob=Cabal-syntax/src/Distribution/Fields/Lexer.hs
<<<<<<< HEAD
=======
- --ignore-glob=Cabal-tests/tests/custom-setup/CabalDoctestSetup.hs
- --ignore-glob=Cabal-tests/tests/custom-setup/IdrisSetup.hs
- --ignore-glob=cabal-testsuite/PackageTests/BuildWays/q/app/Main.hs
>>>>>>> 217f08ac5 (Follow hlint suggestion: use fewer imports)
- --ignore-glob=cabal-testsuite/PackageTests/CmmSources/src/Demo.hs
- --ignore-glob=cabal-testsuite/PackageTests/CmmSourcesDyn/src/Demo.hs
- --ignore-glob=cabal-testsuite/PackageTests/CmmSourcesExe/src/Demo.hs
Expand Down
7 changes: 0 additions & 7 deletions cabal-install/tests/IntegrationTests2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ import qualified Distribution.Client.CmdBench as CmdBench
import qualified Distribution.Client.CmdHaddock as CmdHaddock
import qualified Distribution.Client.CmdListBin as CmdListBin

<<<<<<< HEAD
=======
import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject

Check warning on line 48 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\nimport qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\n" ▫︎ Perhaps: "import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\n"

Check warning on line 48 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\nimport qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\n" ▫︎ Perhaps: "import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject\n"
import Distribution.Client.Config (SavedConfig (savedGlobalFlags), createDefaultConfigFile, loadConfig)

Check warning on line 49 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.Config\n ( SavedConfig(savedGlobalFlags),\n createDefaultConfigFile,\n loadConfig )\nimport Distribution.Client.Config\n ( loadConfig,\n SavedConfig(savedGlobalFlags),\n createDefaultConfigFile )\n" ▫︎ Perhaps: "import Distribution.Client.Config\n ( SavedConfig(savedGlobalFlags),\n createDefaultConfigFile,\n loadConfig,\n loadConfig,\n SavedConfig(savedGlobalFlags),\n createDefaultConfigFile )\n"

Check warning on line 49 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.Config\n ( SavedConfig(savedGlobalFlags),\n createDefaultConfigFile,\n loadConfig )\nimport Distribution.Client.Config\n ( loadConfig,\n SavedConfig(savedGlobalFlags),\n createDefaultConfigFile )\n" ▫︎ Perhaps: "import Distribution.Client.Config\n ( SavedConfig(savedGlobalFlags),\n createDefaultConfigFile,\n loadConfig,\n loadConfig,\n SavedConfig(savedGlobalFlags),\n createDefaultConfigFile )\n"
import Distribution.Client.GlobalFlags

Check warning on line 50 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.GlobalFlags\n ( GlobalFlags, defaultGlobalFlags, globalNix )\nimport Distribution.Client.GlobalFlags ( defaultGlobalFlags )\n" ▫︎ Perhaps: "import Distribution.Client.GlobalFlags\n ( GlobalFlags, defaultGlobalFlags, globalNix, defaultGlobalFlags )\n"

Check warning on line 50 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.GlobalFlags\n ( GlobalFlags, defaultGlobalFlags, globalNix )\nimport Distribution.Client.GlobalFlags ( defaultGlobalFlags )\n" ▫︎ Perhaps: "import Distribution.Client.GlobalFlags\n ( GlobalFlags, defaultGlobalFlags, globalNix, defaultGlobalFlags )\n"
Expand All @@ -57,7 +55,6 @@ import Distribution.Client.GlobalFlags
import Distribution.Client.Setup (globalCommand, globalStoreDir)

Check warning on line 55 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.Setup ( globalCommand, globalStoreDir )\nimport Distribution.Client.Setup ( globalCommand )\nimport Distribution.Client.Setup ( globalStoreDir )\n" ▫︎ Perhaps: "import Distribution.Client.Setup\n ( globalCommand, globalStoreDir, globalCommand, globalStoreDir )\n"

Check warning on line 55 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.Client.Setup ( globalCommand, globalStoreDir )\nimport Distribution.Client.Setup ( globalCommand )\nimport Distribution.Client.Setup ( globalStoreDir )\n" ▫︎ Perhaps: "import Distribution.Client.Setup\n ( globalCommand, globalStoreDir, globalCommand, globalStoreDir )\n"
import Distribution.InstalledPackageInfo (InstalledPackageInfo)

Check warning on line 56 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.InstalledPackageInfo ( InstalledPackageInfo )\nimport Distribution.InstalledPackageInfo ( InstalledPackageInfo )\n" ▫︎ Perhaps: "import Distribution.InstalledPackageInfo\n ( InstalledPackageInfo, InstalledPackageInfo )\n"

Check warning on line 56 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.InstalledPackageInfo ( InstalledPackageInfo )\nimport Distribution.InstalledPackageInfo ( InstalledPackageInfo )\n" ▫︎ Perhaps: "import Distribution.InstalledPackageInfo\n ( InstalledPackageInfo, InstalledPackageInfo )\n"
import Distribution.ModuleName (ModuleName)

Check warning on line 57 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.ModuleName ( ModuleName )\nimport Distribution.ModuleName ( ModuleName )\n" ▫︎ Perhaps: "import Distribution.ModuleName ( ModuleName, ModuleName )\n"

Check warning on line 57 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Distribution.ModuleName ( ModuleName )\nimport Distribution.ModuleName ( ModuleName )\n" ▫︎ Perhaps: "import Distribution.ModuleName ( ModuleName, ModuleName )\n"
>>>>>>> 217f08ac5 (Follow hlint suggestion: use fewer imports)
import Distribution.Package
import Distribution.PackageDescription
import Distribution.InstalledPackageInfo (InstalledPackageInfo)
Expand Down Expand Up @@ -96,11 +93,7 @@ import Test.Tasty.Options
import Data.Tagged (Tagged(..))

import qualified Data.ByteString as BS
<<<<<<< HEAD
import Distribution.Client.GlobalFlags (GlobalFlags, globalNix)
=======
import Data.Maybe (fromJust)

Check warning on line 96 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Data.Maybe ( fromJust )\nimport Data.Maybe ( fromJust )\n" ▫︎ Perhaps: "import Data.Maybe ( fromJust, fromJust )\n"

Check warning on line 96 in cabal-install/tests/IntegrationTests2.hs

View workflow job for this annotation

GitHub Actions / hlint

Warning in module Main: Use fewer imports ▫︎ Found: "import Data.Maybe ( fromJust )\nimport Data.Maybe ( fromJust )\n" ▫︎ Perhaps: "import Data.Maybe ( fromJust, fromJust )\n"
>>>>>>> 217f08ac5 (Follow hlint suggestion: use fewer imports)
import Distribution.Simple.Flag (Flag (Flag, NoFlag))
import Distribution.Types.ParStrat
import Data.Maybe (fromJust)
Expand Down

0 comments on commit 7f13f74

Please sign in to comment.