Page MenuHomePhabricator

[Flang] Add compiled python modules to .gitignore
AcceptedPublic

Authored by kiranchandramohan on Aug 13 2021, 2:04 PM.

Details

Summary

We recently started using python to run some tests. The usage of a
common shared file creates compiled python modules in pycache
directory. Ignore this and any other compiled python files.

Diff Detail

Event Timeline

kiranchandramohan requested review of this revision.Aug 13 2021, 2:04 PM
kiranchandramohan created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2021, 2:04 PM

The patch should not do harm and seems to be useful to some, so I am approving it. Although I think it is redundant (that is, most of the entries in this file) with what the top-level .gitignore already contains.

flang/.gitignore
26

Adding a trailing / indicates to git to apply the rules to directories.

Meinersbur accepted this revision.Sep 13 2021, 10:44 AM

Seems I forgot to actually select accept from the drop-down manu.

This revision is now accepted and ready to land.Sep 13 2021, 10:44 AM
MehdiChinoune added a project: Restricted Project.Sep 15 2021, 11:48 AM