 
   initEnv: (filePath, projectPath) ->
     pythonPath = []
-
-    if filePath
-      pythonPath.push filePath
-
-    if projectPath and projectPath not in pythonPath
-      pythonPath.push projectPath
+    
+    pythonPath.push filePath if filePath
+    pythonPath.push projectPath if projectPath and projectPath not in pythonPath      
 
     env = Object.create process.env
     if env.PWD
       processPath = path.normalize env.PWD
-      if processPath and processPath not in pythonPath
-        pythonPath.push processPath
+      pythonPath.push processPath if processPath and processPath not in pythonPath
 
     env.PYLAMA = pythonPath.join path.delimiter
     env


    @subscriptions.add atom.config.observe 'linter-pylama.ignoreErrorsAndWarnings',
    (ignoreErrorsAndWarnings) =>
      if ignoreErrorsAndWarnings
        ignoreErrorsAndWarnings = ignoreErrorsAndWarnings.replace /\s+/g, ''
      @ignoreErrorsAndWarnings_ = ignoreErrorsAndWarnings

    @subscriptions.add atom.config.observe 'linter-pylama.skipFiles',



  makeLintInfo: (fileName, originFileName) =>
    originFileName = fileName if not originFileName
    filePath = path.normalize path.dirname(originFileName)
    projectPath = atom.project.relativizePath(originFileName)[0]
    env = @initEnv filePath, projectPath
