{"action":"created","issue":{"url":"https://api.github.com/repos/PyCQA/pylint/issues/352","repository_url":"https://api.github.com/repos/PyCQA/pylint","labels_url":"https://api.github.com/repos/PyCQA/pylint/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/PyCQA/pylint/issues/352/comments","events_url":"https://api.github.com/repos/PyCQA/pylint/issues/352/events","html_url":"https://github.com/PyCQA/pylint/issues/352","id":121203263,"node_id":"MDU6SXNzdWUxMjEyMDMyNjM=","number":352,"title":"lint all files in a directory","user":{"login":"pylint-bot","id":16198247,"node_id":"MDQ6VXNlcjE2MTk4MjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/16198247?v=4","gravatar_id":"","url":"https://api.github.com/users/pylint-bot","html_url":"https://github.com/pylint-bot","followers_url":"https://api.github.com/users/pylint-bot/followers","following_url":"https://api.github.com/users/pylint-bot/following{/other_user}","gists_url":"https://api.github.com/users/pylint-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pylint-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pylint-bot/subscriptions","organizations_url":"https://api.github.com/users/pylint-bot/orgs","repos_url":"https://api.github.com/users/pylint-bot/repos","events_url":"https://api.github.com/users/pylint-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pylint-bot/received_events","type":"User","site_admin":false},"labels":[{"id":297274517,"node_id":"MDU6TGFiZWwyOTcyNzQ1MTc=","url":"https://api.github.com/repos/PyCQA/pylint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":297362670,"node_id":"MDU6TGFiZWwyOTczNjI2NzA=","url":"https://api.github.com/repos/PyCQA/pylint/labels/topic-command-line","name":"topic-command-line","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2014-09-29T21:09:53Z","updated_at":"2018-09-01T00:39:11Z","closed_at":null,"author_association":"NONE","body":"Originally reported by: **Buck Evan (BitBucket: [bukzor](http://bitbucket.org/bukzor), GitHub: @bukzor?)**\n\n---\n\nIt would make things easier for me to use pylint in CI if I could simply say `pylint .` in order to tell pylint to look at all my files.\n\nflake8/pep8 already have this behavior. They make it configurable via a filepatterns config (default `*.py`) and an exclude config (default `.svn,CVS,.bzr,.hg,.git,__pycache__`).\n\nDiscussion from #pylint:\n\n```\nbuck1: jcristau: in flake8, I can run `flake8 .` and it has a set of configured match/exclude patterns to check everything in the directory\nbuck1: currently pylint assumes that any directory is a package, and fails if not\nbuck1: how would you feel about including the flake8 behavior\nbuck1: would make my life 100% easier when trying to run pylint against everything during CI\njcristau: doesn't sound crazy, though there might be backwards compat concerns...  please float the idea in a ticket or on the list, i'm not the maintainer :)\nbuck1: jcristau: i'll make a feature-request ticket. Sounds like something I might be able to implement. Just wanted to see your thoughts first.\n```\n\n---\n- Bitbucket: https://bitbucket.org/logilab/pylint/issue/352\n"},"comment":{"url":"https://api.github.com/repos/PyCQA/pylint/issues/comments/417820209","html_url":"https://github.com/PyCQA/pylint/issues/352#issuecomment-417820209","issue_url":"https://api.github.com/repos/PyCQA/pylint/issues/352","id":417820209,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzgyMDIwOQ==","user":{"login":"JayRizzo","id":22861678,"node_id":"MDQ6VXNlcjIyODYxNjc4","avatar_url":"https://avatars1.githubusercontent.com/u/22861678?v=4","gravatar_id":"","url":"https://api.github.com/users/JayRizzo","html_url":"https://github.com/JayRizzo","followers_url":"https://api.github.com/users/JayRizzo/followers","following_url":"https://api.github.com/users/JayRizzo/following{/other_user}","gists_url":"https://api.github.com/users/JayRizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/JayRizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayRizzo/subscriptions","organizations_url":"https://api.github.com/users/JayRizzo/orgs","repos_url":"https://api.github.com/users/JayRizzo/repos","events_url":"https://api.github.com/users/JayRizzo/events{/privacy}","received_events_url":"https://api.github.com/users/JayRizzo/received_events","type":"User","site_admin":false},"created_at":"2018-09-01T00:39:11Z","updated_at":"2018-09-01T00:39:11Z","author_association":"NONE","body":"Hi All,\r\n\r\nI just came across this on SO and I believe I found a plausible work around.\r\n\r\n[I posted details to my answer on StackOverflow](https://stackoverflow.com/a/52123963/1896134)\r\n\r\nUpdate\r\n===\r\nI got this to work by jumping into the directory and using the * :\r\n<!-- language: lang-bash -->\r\n\r\n    $ cd /app\r\n    $ pylint *\r\n\r\nor try:\r\n<!-- language: lang-bash -->\r\n\r\n    $ pylint /path/to/folder/*\r\n\r\nUsing the asterisk `*` instead of the `.` worked.  I hope this helps some of you! =)\r\n"}}
{"actor":{"display_login":"JayRizzo"}}