usox / hackttp

PSR7-like http request/response management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add tests/ to .gitattributes export-ignore

fredemmott opened this issue · comments

Currently, the -dev dependencies are effectively non-dev dependencies in the typechecker.

Can be worked around with ignored_paths, but should ideally be ignored.

$ hh_client
vendor/usox/hackttp/tests/RequestFactoryTest.hh:15:12,15: Unbound name (typing): Usox\HackMock\mock (Typing[4107])
vendor/usox/hackttp/tests/RequestFactoryTest.hh:15:12,15: Unbound name: Usox\HackMock\mock (a global constant) (Naming[2049])
vendor/usox/hackttp/tests/RequestFactoryTest.hh:15:12,15: Unbound name: Usox\HackMock\mock (a global function) (Naming[2049])
vendor/usox/hackttp/tests/RequestFactoryTest.hh:17:5,12: Unbound name (typing): Usox\HackMock\prospect (Typing[4107])
vendor/usox/hackttp/tests/RequestFactoryTest.hh:17:5,12: Unbound name: Usox\HackMock\prospect (a global constant) (Naming[2049])
vendor/usox/hackttp/tests/RequestFactoryTest.hh:17:5,12: Unbound name: Usox\HackMock\prospect (a global function) (Naming[2049])

For example, https://github.com/hhvm/hsl/blob/master/.gitattributes