Skip to content
#

static-code-analysis

Here are 357 public repositories matching this topic...

checkstyle
mkbhanda
mkbhanda commented Jan 8, 2019

Summary

Get URLs that have parameters, whether http or https, leak sensitive information when they capture parameters such as API-Keys, usernames, and passwords. Browser extensions, bookmarks, history, and server log files capture these, even when operating in anonymous mode. Browser providers could share the information and log files need to mask the sensitive information. Refer: https://ww

rchen152
rchen152 commented Apr 23, 2020

The in-progress dev docs have a section on developer workflow: https://google.github.io/pytype/developers/index.html. We also have https://github.com/google/pytype/blob/master/CONTRIBUTING.md. They read like standalone docs with no knowledge of each other and contain different, occasionally overlapping (but at least not contradicting, I think) information. We should coordinate them in some way so

bug
bittner
bittner commented Apr 22, 2020

There are several issues open that suggest that it is unclear how Bandit is meant to be executed. In fact, there are no usage instructions at all in the Bandit docs.

Describe the solution you'd like

There should be simple, crisp, usage instructions in the Bandit docs, e.g.

Install Bandit:

pip install bandit

Run Bandit o

revive
jpopadak
jpopadak commented Nov 7, 2019

Is your feature request related to a problem? Please describe.
I would love it if I could just point revive to a specific configuration file, and have it automatically pick up the include and exclude directories from that configuration file. I have some directories that are used for test helpers (multiple directories) with 50+ files and it is annoying to have to pass in the --exclude fl

larastan
Wayne529
Wayne529 commented Jan 21, 2020

What version of this package are you using?
"eslint-config-standard": "^14.1.0"

What operating system, Node.js, and npm version?
node.js is 10.18.0 and npm version is 6.13.4

What happened?
when i use this npm with eslint, it get something wrong to notice me the errors in the javascript file of my project.like this error:
1:1 error Definition for rule 'no-async-promise-ex

StefanGreffenius
StefanGreffenius commented Dec 10, 2019

Given this code:

# foobar.html.slim

= select_tag :foobar, options_for_select([]),
  data: {\
    "blank-option-label" => t(\
      'form.blank_option_label',
    ),
  }

when i run i18n-tasks unused i see that form.blank_option_label isn't used. When i write it like this it works:

# foobar.html.slim

= select_tag :foobar, options_for_select([]),
  data
foobar13372
foobar13372 commented Feb 25, 2020

I like yoda for 3 === $foo (instead of $foo === 3), but I don't like yoda for 3 === \my_method().

The main reasons for yoda is to avoid accidental assignments which can not happen on method calls.

Is it possible to either only suggest yodo for variable comparisons or to make it configurable in which cases it is suggested?

elibarzilay
elibarzilay commented Apr 12, 2017

It took me a while to debug a use of HeaderMatchesChecker which wasn't working as expected, and eventually I tracked it down to this place in the code which uses Regex(). This means that the given regexp should not do any capturing.

A quick fix for this will be to just

bug

Improve this page

Add a description, image, and links to the static-code-analysis topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the static-code-analysis topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.